CoreForge Media
v1.0.1CoreForge media tools: speech-to-text, document parsing, translation, embeddings.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
speech_to_text
Transcribe one audio file (up to 15 minutes) with CoreForge Speech (local faster-whisper): transcript text, detected language, duration and word-level segments. Provide an audio URL or base64 audio. Paid via x402 ($0.40 USDC on Base) when a payer wallet is configured; otherwise returns the payment requirements.
| Parameter | Type | Description |
|---|---|---|
audioBase64 | string | Base64-encoded audio (alternative to audioUrl) |
audioUrl | string | URL of the audio file to transcribe |
durationSeconds | number | Declared duration in seconds (max 900) |
filename | string | Filename hint, e.g. interview.mp3 (used with audioBase64) |
language | string | Language hint, e.g. 'en' (auto-detected when omitted) |
document_parse
Parse one PDF or image document (up to 25 MB) into clean markdown plus structured JSON with a local open-source document model (Granite-Docling). Documents never leave CoreForge infrastructure. Paid via x402 ($0.10 USDC on Base) when a payer wallet is configured; otherwise returns the payment requirements.
| Parameter | Type | Description |
|---|---|---|
documentBase64 | string | Base64-encoded document |
documentUrl | string | URL of the document (alternative to documentBase64) |
filename | string | Filename hint, e.g. report.pdf |
page_to_markdown
Fetch a web page and return clean, model-ready markdown (title + extracted content, up to 100k characters). Paid via x402 ($0.002 USDC on Base) when a payer wallet is configured; otherwise returns the payment requirements.
| Parameter | Type | Description |
|---|---|---|
url * | string | The page URL (http/https) |
translate_text
Translate up to 5,000 characters of text into a target language with a local MADLAD-400 model. Suited to listings, blurbs and metadata. Paid via x402 ($0.01 USDC on Base) when a payer wallet is configured; otherwise returns the payment requirements.
| Parameter | Type | Description |
|---|---|---|
target * | string | Target language code, e.g. 'es', 'fr', 'de' |
text * | string | Text to translate |
source | string | Source language code (auto-detected when omitted) |
embeddings
Compute 768-dim text embeddings (BGE base, run locally) for one text or a batch of up to 256 texts. OpenAI-style response shape. Paid via x402 ($0.002 USDC on Base) when a payer wallet is configured; otherwise returns the payment requirements.
| Parameter | Type | Description |
|---|---|---|
input * | One text, or an array of texts (max 256, each max 8,192 chars) |
rerank
Rerank up to 100 documents against a query with a local BGE cross-encoder reranker; returns relevance scores (optionally just the top N). Paid via x402 ($0.005 USDC on Base) when a payer wallet is configured; otherwise returns the payment requirements.
| Parameter | Type | Description |
|---|---|---|
documents * | array | Documents to score (max 100) |
query * | string | The query to rank against |
top_n | integer | Return only the top N documents |
chat_completion
OpenAI-compatible chat completion served by CoreForge Inference (local Qwen3-8B) with hard server-side token and daily caps. Paid via x402 ($0.002 USDC on Base) when a payer wallet is configured; otherwise returns the payment requirements.
| Parameter | Type | Description |
|---|---|---|
messages * | array | Chat messages, OpenAI style: [{role, content}] |
max_tokens | integer | Requested max tokens (server-side cap applies) |
model | string | Model name (server allowlist applies) |
image_generate
Generate one draft/concept image (default 1024×1024) from a text prompt with FLUX.1-schnell on a local GPU. Concept quality; text rendering in images is not guaranteed. Paid via x402 ($0.05 USDC on Base) when a payer wallet is configured; otherwise returns the payment requirements.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Image prompt (max 1,000 chars) |
height | integer | Height in px (default 1024) |
seed | integer | Seed for reproducibility |
steps | integer | Diffusion steps (default 4) |
width | integer | Width in px (default 1024) |