Images, video and speech for agents: Nano Banana, GPT Image, Veo, Wan, Gemini TTS. Pay as you go.
Maintain this server? Claim it
This server signs you in with OAuth, which the playground doesn't support yet. Install it in your MCP client to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http media https://tokenomat.ai/api/mcp/media
Edit a previously generated image with a text instruction on Nano Banana 2 Lite / 2 / 2.1 / Pro (multi-turn editing: change colors, remove objects, restyle). Pass the job_id of a COMPLETED image generation as source_generation_id. PAID like a single image of the chosen model and resolution; failed edits are not charged. To edit with GPT Image or Qwen, pass the image to generate_image as reference_images.
| Argument | Type | Description |
|---|---|---|
| seed | integer | Not accepted by nano-banana-2-1. |
| model |
| string |
| prompt* | string | The edit instruction. |
| resolution | string |
| aspect_ratio | string | Panoramic ratios (1:4, 4:1, 1:8, 8:1) on nano-banana-2, nano-banana-2-1, nano-banana-2-lite, nano-banana-pro; 9:21 only on nano-banana-2-1. |
| output_format | string |
| relaxed_filter | boolean | Enabled by default for Google images: configurable safety thresholds off and adult person generation allowed. Pass false for the standard filter. Ignored by other image models and by every video model. Non-configurable checks still apply, including the check of the finished image. |
| idempotency_key | string | Optional unique key; retries with the same key never double-charge. |
| source_generation_id* | string | job_id of a completed image generation owned by this account. |
{
"type": "object",
"required": [
"source_generation_id",
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "Not accepted by nano-banana-2-1."
},
"model": {
"enum": [
"nano-banana-2-lite",
"nano-banana-2",
"nano-banana-2-1",
"nano-banana-pro"
],
"type": "string",
"default": "nano-banana-2"
},
"prompt": {
"type": "string",
"maxLength": 32000,
"description": "The edit instruction."
},
"resolution": {
"enum": [
"512",
"1024",
"2048",
"4096"
],
"type": "string",
"default": "1024"
},
"aspect_ratio": {
"enum": [
"1:1",
"3:2",
"2:3",
"4:3",
"3:4",
"4:5",
"5:4",
"9:16",
"16:9",
"21:9",
"1:4",
"4:1",
"1:8",
"8:1",
"9:21"
],
"type": "string",
"default": "1:1",
"description": "Panoramic ratios (1:4, 4:1, 1:8, 8:1) on nano-banana-2, nano-banana-2-1, nano-banana-2-lite, nano-banana-pro; 9:21 only on nano-banana-2-1."
},
"output_format": {
"enum": [
"jpeg",
"png",
"webp"
],
"type": "string",
"default": "jpeg"
},
"relaxed_filter": {
"type": "boolean",
"default": true,
"description": "Enabled by default for Google images: configurable safety thresholds off and adult person generation allowed. Pass false for the standard filter. Ignored by other image models and by every video model. Non-configurable checks still apply, including the check of the finished image."
},
"idempotency_key": {
"type": "string",
"maxLength": 64,
"description": "Optional unique key; retries with the same key never double-charge."
},
"source_generation_id": {
"type": "string",
"description": "job_id of a completed image generation owned by this account."
}
},
"additionalProperties": false
}Edit an EXISTING video with model "wan-3.0": the source is read as a reference — mode "edit" rebuilds the scene, mode "extend" shoots the next scene; source seconds are billed together with the output. Source: source_generation_id (a completed video on this account) or video_url (public link, max 200 MB). Cost confirmation is mandatory (the first call returns the quote and charges nothing). Returns a job_id; poll get_result. Failed edits are not charged.
| Argument | Type | Description |
|---|---|---|
| mode | string | "edit" rebuilds the scene from the source; "extend" shoots the next scene. |
| model | string | wan-3.0 reads the source as a reference and renders a new clip of the chosen duration (edit or extend by prompt). |
| prompt* | string | What to change in the video. |
| duration | integer | Length of the OUTPUT clip (4, 6, 8, 10, 15, 20, 30 s, default 8); source + output must fit in 30 s. |
| video_url | string | Public http(s) URL of the source video (mp4/mov/webm/mkv/avi, max 200 MB). Use instead of source_generation_id. |
| resolution | string | Output resolution (default 720p). |
| source_ref | string | Returned by the quote when video_url is used: pass it back with confirm_cost to reuse the downloaded clip. |
| with_audio | boolean | Sound is on by default and free — pass false for a silent clip. |
| audio_prompt | string | Describe the desired sound. |
| confirm_cost | number | The quoted USD cost you accept. Omit on the first call to get the quote. |
| idempotency_key | string | Optional unique key; retries with the same key never double-charge. |
| reference_audios | array | wan-3.0 only: voice samples for the characters in the reworked or continued scene — same accepted forms and limits as generate_video.reference_audios (speech job_id, video job_id, URL, data:audio base64, or reference_audio_refs from the quote; up to 5 samples, 15 s in total, not billed). The source clip is "Video 1" and the samples are "Audio 1", "Audio 2" in the prompt. |
| source_generation_id | string | job_id of a completed video generation on this account. Required for Veo extension (the source must be a Veo clip). |
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"mode": {
"enum": [
"edit",
"extend"
],
"type": "string",
"default": "edit",
"description": "\"edit\" rebuilds the scene from the source; \"extend\" shoots the next scene."
},
"model": {
"enum": [
"wan-3.0"
],
"type": "string",
"default": "wan-3.0",
"description": "wan-3.0 reads the source as a reference and renders a new clip of the chosen duration (edit or extend by prompt)."
},
"prompt": {
"type": "string",
"maxLength": 32000,
"description": "What to change in the video."
},
"duration": {
"enum": [
4,
6,
8,
10,
15,
20,
30
],
"type": "integer",
"description": "Length of the OUTPUT clip (4, 6, 8, 10, 15, 20, 30 s, default 8); source + output must fit in 30 s."
},
"video_url": {
"type": "string",
"description": "Public http(s) URL of the source video (mp4/mov/webm/mkv/avi, max 200 MB). Use instead of source_generation_id."
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"description": "Output resolution (default 720p)."
},
"source_ref": {
"type": "string",
"description": "Returned by the quote when video_url is used: pass it back with confirm_cost to reuse the downloaded clip."
},
"with_audio": {
"type": "boolean",
"default": true,
"description": "Sound is on by default and free — pass false for a silent clip."
},
"audio_prompt": {
"type": "string",
"maxLength": 500,
"description": "Describe the desired sound."
},
"confirm_cost": {
"type": "number",
"description": "The quoted USD cost you accept. Omit on the first call to get the quote."
},
"idempotency_key": {
"type": "string",
"maxLength": 64,
"description": "Optional unique key; retries with the same key never double-charge."
},
"reference_audios": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"description": "wan-3.0 only: voice samples for the characters in the reworked or continued scene — same accepted forms and limits as generate_video.reference_audios (speech job_id, video job_id, URL, data:audio base64, or reference_audio_refs from the quote; up to 5 samples, 15 s in total, not billed). The source clip is \"Video 1\" and the samples are \"Audio 1\", \"Audio 2\" in the prompt."
},
"source_generation_id": {
"type": "string",
"description": "job_id of a completed video generation on this account. Required for Veo extension (the source must be a Veo clip)."
}
},
"additionalProperties": false
}Start an AI image generation (Google Nano Banana family, OpenAI GPT Image 2.6, Alibaba Qwen-Image 3.0 Pro). PAID from the Tokenomat balance: the quoted price is held when the job starts and charged when it completes. Returns a job_id — poll get_result for the image URLs (typically 10–60 seconds). The default nano-banana-2-lite is the cheapest Google option at 1024px; choose nano-banana-2 for 512, 2048 or 4096. Panoramic and banner formats (1:4, 4:1, 1:8, 8:1) work on nano-banana-2, nano-banana-2-1, nano-banana-2-lite, nano-banana-pro; 9:21 only on nano-banana-2-1. Optional reference_images (up to 14, per-model limits in list_models) give the model the actual subject, product or style. Costs $0.03–$0.20 per image (see list_models). Failed images are not charged. number_of_images > 1 is a batch: the first call returns a quote and charges nothing — repeat it with confirm_cost set to the quoted amount. Example: {"prompt": "studio photo of a ceramic mug on linen, soft daylight", "model": "nano-banana-2-lite", "aspect_ratio": "4:5"}
| Argument | Type | Description |
|---|---|---|
| seed | integer | For reproducible results. nano-banana-2-1 does not accept seed (the call is rejected); GPT Image models ignore it. |
| model | string | nano-banana-2-lite: cheapest, 1024 only. nano-banana-2: 512, 2048 or 4096 output. nano-banana-2-1: Google's newest Flash image model — 1024, 2048 or 4096 (no 512), adds panoramic 1:4, 4:1, 1:8, 8:1 and 9:21 aspect ratios, no seed. nano-banana-pro: top Google quality, up to 4K. gpt-image-2.6-flare / gpt-image-2.6-sunburst: OpenAI's newest (Nov 2026) — strongest at readable in-image text and long literal briefs; 1024, 2048 or 4096 (4K = 3840 on the long side) at the exact aspect_ratio, also with reference_images; Flare is the fast tier, Sunburst the precision/editing tier. GPT Image models ignore seed and relaxed_filter; gpt-image-2.5-* were retired on 2026-11-09 — use the 2.6 names. qwen-image-3.0-pro: crisp small text, dense layouts; 1024 or 2048, up to 3 references, seed + negative_prompt. |
| prompt* | string | What to generate. English works best. list_models reports max_prompt_chars per model. |
| resolution | string | Lite requires 1024. Choose nano-banana-2 for 512, 2048 or 4096; 4096 costs the most. nano-banana-2-1, nano-banana-pro and GPT Image models have no 512; qwen-image-3.0-pro accepts 1024 or 2048 only. |
| aspect_ratio | string | Panoramic 1:4, 4:1, 1:8, 8:1 are accepted by nano-banana-2, nano-banana-2-1, nano-banana-2-lite, nano-banana-pro (Google models); 9:21 only by nano-banana-2-1; GPT Image and Qwen take the standard ten (list_models shows aspect_ratios per model). |
| confirm_cost | number | Required for batches (number_of_images > 1): the quoted total USD cost you accept. |
| output_format | string | |
| relaxed_filter | boolean | Enabled by default for Google images: configurable safety thresholds off and adult person generation allowed. Pass false for the standard filter. Ignored by other image models and by every video model. Non-configurable checks still apply, including the check of the finished image. |
| idempotency_key | string | Optional unique key; retries with the same key never double-charge. |
| negative_prompt | string | |
| number_of_images | integer | Variants per call. >1 requires confirm_cost. |
| reference_images | array | Visual references: a job_id of a completed image generation on this account, a public http(s) image URL, or an inline data:image/png|jpeg|webp;base64,... URL (max 10 MB each). A local filesystem path cannot be read by this remote server. Every model keeps aspect_ratio with references. |
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "For reproducible results. nano-banana-2-1 does not accept seed (the call is rejected); GPT Image models ignore it."
},
"model": {
"enum": [
"nano-banana-2-lite",
"nano-banana-2",
"nano-banana-2-1",
"nano-banana-pro",
"gpt-image-2.6-flare",
"gpt-image-2.6-sunburst",
"qwen-image-3.0-pro"
],
"type": "string",
"default": "nano-banana-2-lite",
"description": "nano-banana-2-lite: cheapest, 1024 only. nano-banana-2: 512, 2048 or 4096 output. nano-banana-2-1: Google's newest Flash image model — 1024, 2048 or 4096 (no 512), adds panoramic 1:4, 4:1, 1:8, 8:1 and 9:21 aspect ratios, no seed. nano-banana-pro: top Google quality, up to 4K. gpt-image-2.6-flare / gpt-image-2.6-sunburst: OpenAI's newest (Nov 2026) — strongest at readable in-image text and long literal briefs; 1024, 2048 or 4096 (4K = 3840 on the long side) at the exact aspect_ratio, also with reference_images; Flare is the fast tier, Sunburst the precision/editing tier. GPT Image models ignore seed and relaxed_filter; gpt-image-2.5-* were retired on 2026-11-09 — use the 2.6 names. qwen-image-3.0-pro: crisp small text, dense layouts; 1024 or 2048, up to 3 references, seed + negative_prompt."
},
"prompt": {
"type": "string",
"maxLength": 32000,
"description": "What to generate. English works best. list_models reports max_prompt_chars per model."
},
"resolution": {
"enum": [
"512",
"1024",
"2048",
"4096"
],
"type": "string",
"default": "1024",
"description": "Lite requires 1024. Choose nano-banana-2 for 512, 2048 or 4096; 4096 costs the most. nano-banana-2-1, nano-banana-pro and GPT Image models have no 512; qwen-image-3.0-pro accepts 1024 or 2048 only."
},
"aspect_ratio": {
"enum": [
"1:1",
"3:2",
"2:3",
"4:3",
"3:4",
"4:5",
"5:4",
"9:16",
"16:9",
"21:9",
"1:4",
"4:1",
"1:8",
"8:1",
"9:21"
],
"type": "string",
"default": "1:1",
"description": "Panoramic 1:4, 4:1, 1:8, 8:1 are accepted by nano-banana-2, nano-banana-2-1, nano-banana-2-lite, nano-banana-pro (Google models); 9:21 only by nano-banana-2-1; GPT Image and Qwen take the standard ten (list_models shows aspect_ratios per model)."
},
"confirm_cost": {
"type": "number",
"description": "Required for batches (number_of_images > 1): the quoted total USD cost you accept."
},
"output_format": {
"enum": [
"jpeg",
"png",
"webp"
],
"type": "string",
"default": "jpeg"
},
"relaxed_filter": {
"type": "boolean",
"default": true,
"description": "Enabled by default for Google images: configurable safety thresholds off and adult person generation allowed. Pass false for the standard filter. Ignored by other image models and by every video model. Non-configurable checks still apply, including the check of the finished image."
},
"idempotency_key": {
"type": "string",
"maxLength": 64,
"description": "Optional unique key; retries with the same key never double-charge."
},
"negative_prompt": {
"type": "string",
"maxLength": 1000
},
"number_of_images": {
"type": "integer",
"default": 1,
"maximum": 4,
"minimum": 1,
"description": "Variants per call. >1 requires confirm_cost."
},
"reference_images": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 14,
"description": "Visual references: a job_id of a completed image generation on this account, a public http(s) image URL, or an inline data:image/png|jpeg|webp;base64,... URL (max 10 MB each). A local filesystem path cannot be read by this remote server. Every model keeps aspect_ratio with references."
}
},
"additionalProperties": false
}Generate natural speech with Gemini 3.1 Flash TTS. Synchronous: returns a hosted WAV URL directly (no get_result polling). One voice or exactly two dialogue speakers, automatic language detection or a BCP-47 language_code, natural-language direction and inline tags such as [whispers] or [laughs]. PAID: $0.01 per started 200 transcript characters, charged only after valid audio is returned.
| Argument | Type | Description |
|---|---|---|
| text* | string | Exact transcript. For dialogue, prefix every turn with the speaker name, e.g. Sam: Hello. |
| style | string | Optional direction: persona, scene, emotion, accent, pace, pronunciation. |
| voice | string | Single-speaker voice. Ignored when speakers is provided. |
| speakers | array | Exactly two dialogue speakers; their names must prefix the turns in text. |
| language_code | string | Optional locale such as en-US or ru-RU. Omit for automatic detection. |
| idempotency_key | string | Optional unique key; retries with the same key never double-charge. |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 6000,
"description": "Exact transcript. For dialogue, prefix every turn with the speaker name, e.g. Sam: Hello."
},
"style": {
"type": "string",
"maxLength": 1500,
"description": "Optional direction: persona, scene, emotion, accent, pace, pronunciation."
},
"voice": {
"enum": [
"Achernar",
"Achird",
"Algenib",
"Algieba",
"Alnilam",
"Aoede",
"Autonoe",
"Callirrhoe",
"Charon",
"Despina",
"Enceladus",
"Erinome",
"Fenrir",
"Gacrux",
"Iapetus",
"Kore",
"Laomedeia",
"Leda",
"Orus",
"Pulcherrima",
"Puck",
"Rasalgethi",
"Sadachbia",
"Sadaltager",
"Schedar",
"Sulafat",
"Umbriel",
"Vindemiatrix",
"Zephyr",
"Zubenelgenubi"
],
"type": "string",
"default": "Kore",
"description": "Single-speaker voice. Ignored when speakers is provided."
},
"speakers": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"voice"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"voice": {
"enum": [
"Achernar",
"Achird",
"Algenib",
"Algieba",
"Alnilam",
"Aoede",
"Autonoe",
"Callirrhoe",
"Charon",
"Despina",
"Enceladus",
"Erinome",
"Fenrir",
"Gacrux",
"Iapetus",
"Kore",
"Laomedeia",
"Leda",
"Orus",
"Pulcherrima",
"Puck",
"Rasalgethi",
"Sadachbia",
"Sadaltager",
"Schedar",
"Sulafat",
"Umbriel",
"Vindemiatrix",
"Zephyr",
"Zubenelgenubi"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 2,
"minItems": 2,
"description": "Exactly two dialogue speakers; their names must prefix the turns in text."
},
"language_code": {
"type": "string",
"description": "Optional locale such as en-US or ru-RU. Omit for automatic detection."
},
"idempotency_key": {
"type": "string",
"maxLength": 64,
"description": "Optional unique key; retries with the same key never double-charge."
}
},
"additionalProperties": false
}Start an AI video generation. Models: veo-3.1, veo-3.1-fast, omni-flash, omni-flash-1.0, wan-3.0, grok-imagine-video-1.5. EXPENSIVE: priced per clip or per second — see list_models. Cost confirmation is mandatory: the first call returns a USD quote and charges nothing — repeat it with confirm_cost set to the quoted amount to start. Returns a job_id; poll get_result (1–10+ minutes). Failed videos are not charged. first_frame animates a still picture, reference_images keep a subject consistent — a completed image job_id, a public image URL or inline base64.
| Argument | Type | Description |
|---|---|---|
| seed | integer | Veo and wan-3.0 only. |
| model | string | |
| prompt* | string | What to film. list_models reports max_prompt_chars per model. |
| duration | integer | Clip length in seconds. Allowed values differ by model — see durations_seconds in list_models. |
| last_frame | string | Closing frame for Veo, omni-flash 1.1 and models that advertise it; requires first_frame. Same accepted forms as first_frame. |
| resolution | string | Output resolution. Allowed values differ by model — see resolutions in list_models. |
| with_audio | boolean | Native audio for Veo models (costs more). omni-flash and grok-imagine-video-1.5 always have audio. On wan-3.0 audio is on by default and free — pass false for a silent clip. |
| first_frame | string | Start the clip from a still image: a job_id of a completed image generation on this account, a public http(s) image URL (including a signed URL from get_result — that is how you pick one variant of a batch), or an inline data:image/...;base64,... URL (max 10 MB). |
| aspect_ratio | string | Veo and omni-flash: 16:9 or 9:16. wan-3.0: 16:9 / 9:16; grok-imagine-video-1.5: 16:9 / 9:16 / 1:1 / 3:2 / 2:3. |
| audio_prompt | string | Describe the desired sound (used when audio is on). |
| confirm_cost | number | The quoted USD cost you accept. Omit on the first call to get the quote. |
| relaxed_filter | boolean | Accepted for compatibility and has no effect on video: video models expose no configurable safety settings. |
| idempotency_key | string | Optional unique key; retries with the same key never double-charge. |
| negative_prompt | string | What to avoid. On omni-flash it is appended to the prompt as plain text. |
| number_of_videos | integer | One clip per job. |
| reference_audios | array | wan-3.0 only: voice samples — the model takes the speaker's timbre from the sample and lip-syncs the character's lines to it, so the same voice carries across a whole series of clips. Each item is a job_id of a completed generate_speech call (its WAV), a job_id of a completed video on this account (its soundtrack is used), a public http(s) URL to a wav/mp3/m4a or video file, a data:audio/...;base64,... value, or a reference_audio_refs value returned by the quote. Up to 5 samples and 15 s of audio in total; each is converted to WAV 24 kHz mono, leading silence is trimmed and the sample is cut to the budget. In the prompt the samples are "Audio 1", "Audio 2" in order (job_ids first, then URLs). Input audio is NOT billed — the price is the output clip only. Cannot be combined with first_frame / last_frame; reference_images and reference_videos are fine. Works with edit_video model wan-3.0 too. |
| reference_images | array | Images that keep a subject, character or style consistent (not literal frames). Per-model limits and whether they combine with first_frame — see list_models (input_images_note). |
| reference_videos | array | wan-3.0 only: clips the model reads before generating — to rework a clip, continue its story or carry its characters into a new scene; the prompt refers to them as "Video 1", "Video 2" (job_ids first, then URLs). Each item is a completed video job_id on this account, a public video URL, or a reference_video_refs value from the quote. Up to 5 clips and 15 s in total; INPUT SECONDS ARE BILLED like output seconds and input + output must fit in 30 s. Cannot be combined with first_frame / last_frame. |
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "Veo and wan-3.0 only."
},
"model": {
"enum": [
"veo-3.1",
"veo-3.1-fast",
"omni-flash",
"omni-flash-1.0",
"wan-3.0",
"grok-imagine-video-1.5"
],
"type": "string",
"default": "veo-3.1-fast"
},
"prompt": {
"type": "string",
"maxLength": 32000,
"description": "What to film. list_models reports max_prompt_chars per model."
},
"duration": {
"enum": [
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
20,
30
],
"type": "integer",
"default": 8,
"description": "Clip length in seconds. Allowed values differ by model — see durations_seconds in list_models."
},
"last_frame": {
"type": "string",
"description": "Closing frame for Veo, omni-flash 1.1 and models that advertise it; requires first_frame. Same accepted forms as first_frame."
},
"resolution": {
"enum": [
"720p",
"1080p",
"4k",
"480p"
],
"type": "string",
"default": "720p",
"description": "Output resolution. Allowed values differ by model — see resolutions in list_models."
},
"with_audio": {
"type": "boolean",
"default": false,
"description": "Native audio for Veo models (costs more). omni-flash and grok-imagine-video-1.5 always have audio. On wan-3.0 audio is on by default and free — pass false for a silent clip."
},
"first_frame": {
"type": "string",
"description": "Start the clip from a still image: a job_id of a completed image generation on this account, a public http(s) image URL (including a signed URL from get_result — that is how you pick one variant of a batch), or an inline data:image/...;base64,... URL (max 10 MB)."
},
"aspect_ratio": {
"enum": [
"16:9",
"9:16",
"1:1",
"3:2",
"2:3"
],
"type": "string",
"default": "16:9",
"description": "Veo and omni-flash: 16:9 or 9:16. wan-3.0: 16:9 / 9:16; grok-imagine-video-1.5: 16:9 / 9:16 / 1:1 / 3:2 / 2:3."
},
"audio_prompt": {
"type": "string",
"maxLength": 500,
"description": "Describe the desired sound (used when audio is on)."
},
"confirm_cost": {
"type": "number",
"description": "The quoted USD cost you accept. Omit on the first call to get the quote."
},
"relaxed_filter": {
"type": "boolean",
"description": "Accepted for compatibility and has no effect on video: video models expose no configurable safety settings."
},
"idempotency_key": {
"type": "string",
"maxLength": 64,
"description": "Optional unique key; retries with the same key never double-charge."
},
"negative_prompt": {
"type": "string",
"maxLength": 1000,
"description": "What to avoid. On omni-flash it is appended to the prompt as plain text."
},
"number_of_videos": {
"type": "integer",
"default": 1,
"maximum": 1,
"minimum": 1,
"description": "One clip per job."
},
"reference_audios": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"description": "wan-3.0 only: voice samples — the model takes the speaker's timbre from the sample and lip-syncs the character's lines to it, so the same voice carries across a whole series of clips. Each item is a job_id of a completed generate_speech call (its WAV), a job_id of a completed video on this account (its soundtrack is used), a public http(s) URL to a wav/mp3/m4a or video file, a data:audio/...;base64,... value, or a reference_audio_refs value returned by the quote. Up to 5 samples and 15 s of audio in total; each is converted to WAV 24 kHz mono, leading silence is trimmed and the sample is cut to the budget. In the prompt the samples are \"Audio 1\", \"Audio 2\" in order (job_ids first, then URLs). Input audio is NOT billed — the price is the output clip only. Cannot be combined with first_frame / last_frame; reference_images and reference_videos are fine. Works with edit_video model wan-3.0 too."
},
"reference_images": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"description": "Images that keep a subject, character or style consistent (not literal frames). Per-model limits and whether they combine with first_frame — see list_models (input_images_note)."
},
"reference_videos": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"description": "wan-3.0 only: clips the model reads before generating — to rework a clip, continue its story or carry its characters into a new scene; the prompt refers to them as \"Video 1\", \"Video 2\" (job_ids first, then URLs). Each item is a completed video job_id on this account, a public video URL, or a reference_video_refs value from the quote. Up to 5 clips and 15 s in total; INPUT SECONDS ARE BILLED like output seconds and input + output must fit in 30 s. Cannot be combined with first_frame / last_frame."
}
},
"additionalProperties": false
}Status and result of a job started with generate_image / edit_image / generate_video / edit_video. Waits up to wait_seconds for completion (long-poll). On success returns media URLs (valid 24 h — call again for fresh links), the charged cost and the available balance, plus a small inline preview for images. Free. Poll roughly every 10–15 s for videos.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | |
| wait_seconds | integer | How long to wait server-side before answering. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string"
},
"wait_seconds": {
"type": "integer",
"default": 15,
"maximum": 30,
"minimum": 0,
"description": "How long to wait server-side before answering."
}
},
"additionalProperties": false
}List this account's recent generations (website, API and MCP) — id, type, model, status, cost and prompt preview. Use it to find a job_id for get_result or as a source for edit_image / edit_video. Free.
| Argument | Type | Description |
|---|---|---|
| type | string | Filter by media type. |
| limit | integer | |
| before | string | ISO date: list generations created before it (next_before of the previous page). |
| status | string | Filter by status. |
{
"type": "object",
"properties": {
"type": {
"enum": [
"image",
"video",
"speech"
],
"type": "string",
"description": "Filter by media type."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"before": {
"type": "string",
"description": "ISO date: list generations created before it (next_before of the previous page)."
},
"status": {
"enum": [
"processing",
"completed",
"failed"
],
"type": "string",
"description": "Filter by status."
}
},
"additionalProperties": false
}List image, video and speech generation models with current per-unit USD prices, supported resolutions, durations and constraints. Call this before quoting costs or choosing a model. Free, no charge.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 1, 2026.