[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-venice-ai-venice-video":3,"mdc-hdlanq-key":34,"related-org-venice-ai-venice-video":4081,"related-repo-venice-ai-venice-video":4247},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"venice-video","generate and transcribe videos with Venice","Generate and transcribe videos via Venice. Covers the async \u002Fvideo\u002Fquote + \u002Fvideo\u002Fqueue + \u002Fvideo\u002Fretrieve + \u002Fvideo\u002Fcomplete loop, text-to-video, image-to-video, video-to-video (upscale), audio input, reference images, reference video and reference audio (R2V), scene and element support, plus \u002Fvideo\u002Ftranscriptions for YouTube URLs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"venice-ai","Venice AI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvenice-ai.png","veniceai",[13,17,20],{"name":14,"slug":15,"type":16},"Text-to-Speech","text-to-speech","tag",{"name":18,"slug":19,"type":16},"Transcription","transcription",{"name":21,"slug":22,"type":16},"Video","video",119,"https:\u002F\u002Fgithub.com\u002Fveniceai\u002Fskills","2026-08-01T05:43:11.735248",null,15,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"Agent Skills for the Venice.ai API. One folder per surface area, each with a SKILL.md for agent runtimes (Cursor, Claude, Codex, etc.).","https:\u002F\u002Fgithub.com\u002Fveniceai\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fvenice-video","---\nname: venice-video\ndescription: Generate and transcribe videos via Venice. Covers the async \u002Fvideo\u002Fquote + \u002Fvideo\u002Fqueue + \u002Fvideo\u002Fretrieve + \u002Fvideo\u002Fcomplete loop, text-to-video, image-to-video, video-to-video (upscale), audio input, reference images, reference video and reference audio (R2V), scene and element support, plus \u002Fvideo\u002Ftranscriptions for YouTube URLs.\n---\n\n# Venice Video\n\nVideo is **asynchronous** — like audio music. Five endpoints:\n\n| Endpoint | Purpose |\n|---|---|\n| `POST \u002Fvideo\u002Fquote` | Price in USD (no charge, no job). |\n| `POST \u002Fvideo\u002Fqueue` | Enqueue generation. Returns `queue_id`, charges (reserves) funds. |\n| `POST \u002Fvideo\u002Fretrieve` | Poll status or download `video\u002Fmp4`. |\n| `POST \u002Fvideo\u002Fcomplete` | Finalize & delete media from Venice storage. |\n| `POST \u002Fvideo\u002Ftranscriptions` | Sync: transcribe a YouTube URL's audio. |\n\n## Use when\n\n- You need text-to-video, image-to-video, video upscale, video-with-audio, or video transcription.\n- You can tolerate async execution (single-digit seconds to several minutes depending on model, duration, and queue depth — inspect `average_execution_time` and `execution_duration` on `\u002Fvideo\u002Fretrieve` for your job's live estimate).\n- You want to price a job precisely before committing (`\u002Fvideo\u002Fquote`).\n\n## Lifecycle — generation\n\n### 1. Price with `\u002Fvideo\u002Fquote`\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fquote \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"wan-2-7-text-to-video\",\n    \"duration\": \"5s\",\n    \"aspect_ratio\": \"16:9\",\n    \"resolution\": \"720p\",\n    \"audio\": true\n  }'\n```\n\nResponse: `{\"quote\": 0.35}` USD.\n\n`\u002Fvideo\u002Fquote` requires `model` and `duration`. It also takes `resolution`\n(required for models priced by duration × resolution × rate), `upscale_factor`\nand `video_url` for upscale models (`video_url` lets Venice auto-detect the\nsource duration), and `reference_video_total_duration` for reference-to-video\nmodels — the aggregate seconds of every reference video you intend to send, up\nto 45. Quote a reference-video job without it and you get the no-reference\nbaseline price.\n\n### 2. Submit with `\u002Fvideo\u002Fqueue`\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fqueue \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"wan-2-7-text-to-video\",\n    \"prompt\": \"Commerce being conducted in the city of Venice, Italy.\",\n    \"negative_prompt\": \"low resolution, worst quality, defects\",\n    \"duration\": \"5s\",\n    \"aspect_ratio\": \"16:9\",\n    \"resolution\": \"720p\",\n    \"audio\": true\n  }'\n```\n\nResponse: `{ \"model\": \"...\", \"queue_id\": \"uuid\", \"download_url\": \"https:\u002F\u002F...\" }`.\n\n- `download_url` only appears for **VPS-backed** models. When present, the retrieve endpoint returns JSON status only — fetch this URL to download. Valid 24 h.\n\n### 3. Poll with `\u002Fvideo\u002Fretrieve`\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fretrieve \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"model\":\"...\",\"queue_id\":\"...\"}' \\\n  --output out.mp4\n```\n\n- Processing: JSON `{\"status\":\"PROCESSING\",\"average_execution_time\":145000,\"execution_duration\":53200}` (ms).\n- Completed (non-VPS): binary `video\u002Fmp4` body.\n- Completed (VPS-backed): `{\"status\":\"COMPLETED\", ...}` — fetch the `download_url` from the queue response.\n- `delete_media_on_completion: true` auto-deletes after successful retrieve.\n\n### 4. Finalize with `\u002Fvideo\u002Fcomplete`\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fcomplete \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"model\":\"...\",\"queue_id\":\"...\"}'\n```\n\n## `QueueVideoRequest` fields\n\nAvailability depends on the model — check `GET \u002Fmodels?type=video`.\n\n| Field | Type | Notes |\n|---|---|---|\n| `model` | string | Required. |\n| `prompt` | string, ≤ 2500–3500 | **Required** (min length 1). Max length varies per model. |\n| `negative_prompt` | string, ≤ 2500–3500 | — |\n| `duration` | enum `1s..16s` in 1s steps, plus `18s`, `20s`, `25s`, `30s`, `1 gen`, `Auto` | Required. Model-specific subset. `1 gen` means one generation unit for models priced per generation rather than per second. |\n| `aspect_ratio` | `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `9:16`, `16:9`, `21:9` | Some models ignore. |\n| `resolution` | `256p..4k`, or upscale hints `2x` \u002F `4x` \u002F `true_1080p` | Use `upscale_factor` for upscale models. |\n| `upscale_factor` | `1` \u002F `2` \u002F `4` | Only for upscale models. `1` = quality enhancement. |\n| `audio` | bool | Default `true`. Audio-capable models. |\n| `image_url` | URL or `data:` URL | Image-to-video reference frame. |\n| `end_image_url` | URL or data URL | End frame \u002F transition reference. |\n| `audio_url` | URL or data URL | Background music input. WAV\u002FMP3, ≤ 30 s, ≤ 15 MB. |\n| `video_url` | URL or data URL | Video-to-video \u002F upscale input. MP4\u002FMOV\u002FWebM. |\n| `reference_image_urls[]` | array of URLs, ≤ 9 | Character \u002F style consistency images. |\n| `reference_video_urls[]` | array of URLs, ≤ 3 | Reference-to-video models (e.g. Seedance 2.0 R2V). Inherits subject motion, camera movement, and style. Per clip 2–15 s, `.mp4` or `.mov`, ≤ 50 MB; aggregate ≤ 15 s. |\n| `reference_audio_urls[]` | array of URLs, ≤ 3 | Donor audio for vocal timbre, narration, or sound effects. Per clip 2–15 s, `.wav` or `.mp3`; aggregate ≤ 15 s. **Must be paired with at least one reference image or reference video** — audio-only Reference workflows are rejected at validation. |\n| `consents` | object | Provider-specific consent attestations. Seedance requires consent only when the submitted media contains faces. |\n| `elements[]` | array, ≤ 4 | Advanced models (e.g. Kling O3 R2V): each has `frontal_image_url`, up to 3 `reference_image_urls`, `video_url`. Reference in prompt as `@Element1`, `@Element2`. |\n| `scene_image_urls[]` | array of URLs, ≤ 4 | Advanced scene refs; reference in prompt as `@Image1`, `@Image2`. |\n\n## Common recipes\n\n### Text → video with audio\n\n```json\n{\n  \"model\": \"wan-2-7-text-to-video\",\n  \"prompt\": \"A golden retriever chasing a frisbee in slow motion at sunset.\",\n  \"duration\": \"6s\",\n  \"aspect_ratio\": \"16:9\",\n  \"resolution\": \"720p\",\n  \"audio\": true\n}\n```\n\n### Image → video\n\n```json\n{\n  \"model\": \"\u003Cimage-to-video model>\",\n  \"prompt\": \"Camera slowly zooms out, revealing the cityscape.\",\n  \"image_url\": \"https:\u002F\u002Fexample.com\u002Fcityscape.jpg\",\n  \"duration\": \"5s\",\n  \"aspect_ratio\": \"16:9\"\n}\n```\n\n### Video upscale\n\n```json\n{\n  \"model\": \"\u003Cupscale model>\",\n  \"video_url\": \"data:video\u002Fmp4;base64,...\",\n  \"upscale_factor\": 2,\n  \"duration\": \"Auto\"\n}\n```\n\n### Multi-element consistency (Kling O3 R2V-style)\n\n```json\n{\n  \"model\": \"\u003Cadvanced-model>\",\n  \"prompt\": \"@Element1 walks toward @Element2 against @Image1.\",\n  \"elements\": [\n    { \"frontal_image_url\": \"\u003Cchar1.png>\", \"reference_image_urls\": [\"\u003Calt1.png>\"] },\n    { \"frontal_image_url\": \"\u003Cchar2.png>\" }\n  ],\n  \"scene_image_urls\": [\"\u003Cstreet-scene.jpg>\"]\n}\n```\n\n## `\u002Fvideo\u002Ftranscriptions` (sync)\n\nTranscribe a YouTube video URL directly — no queue.\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Ftranscriptions \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"url\":\"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\",\"response_format\":\"json\"}'\n```\n\nResponse: `{\"transcript\":\"...\",\"lang\":\"en\"}` (JSON) or plain `text\u002Fplain` body when `response_format: text`.\n\nFor arbitrary audio files, use [`venice-audio-transcription`](..\u002Fvenice-audio-transcription\u002FSKILL.md) instead.\n\n## Full polling loop\n\n```ts\nasync function waitForVideo(model: string, queueId: string, downloadUrl?: string) {\n  while (true) {\n    const res = await fetch(`${base}\u002Fvideo\u002Fretrieve`, {\n      method: 'POST', headers,\n      body: JSON.stringify({ model, queue_id: queueId }),\n    })\n    const ct = res.headers.get('content-type') ?? ''\n    if (ct.startsWith('video\u002F')) {\n      return Buffer.from(await res.arrayBuffer())\n    }\n    const body = await res.json()\n    if (body.status === 'COMPLETED' && downloadUrl) {\n      const v = await fetch(downloadUrl)\n      return Buffer.from(await v.arrayBuffer())\n    }\n    if (body.status !== 'PROCESSING') throw new Error(`unexpected ${body.status}`)\n    await new Promise(r => setTimeout(r, 5000))\n  }\n}\n```\n\n## Errors\n\n| Code | Meaning |\n|---|---|\n| `400` | Bad params (duration\u002Fresolution not supported by model, missing required `image_url` for i2v, missing `prompt`, etc.). |\n| `401` | Auth \u002F Pro-only. |\n| `402` | Insufficient balance. |\n| `403` | Model unavailable in your region. |\n| `413` | Request payload too large — shrink images \u002F audio. (Returned from `\u002Fvideo\u002Fqueue`.) |\n| `422` | Content policy violation. (Returned from `\u002Fvideo\u002Fqueue`.) |\n| `500` | Inference failed. |\n| `503` | Model at capacity — retry later. **On `\u002Fvideo\u002Fretrieve`**, returned when the queue is backed up. |\n\n`\u002Fvideo\u002Fqueue` does not document `503` in the spec — upstream capacity issues surface there as `500`. Watch for `503` specifically on `\u002Fvideo\u002Fretrieve`.\n\n## Gotchas\n\n- **`duration` is required on `\u002Fvideo\u002Fqueue`.** Even `Auto` is a valid explicit value.\n- `download_url` is **only sometimes** returned at queue time. Always handle both paths: binary from `\u002Fretrieve` OR fetching `download_url` after status `COMPLETED`.\n- `download_url` expires in 24 h — download promptly.\n- Upscale models use `upscale_factor` *instead of* `resolution`.\n- `reference_image_urls[]` is capped at 9 entries, `reference_video_urls[]` and `reference_audio_urls[]` at 3 each, `elements[]` at 4, `scene_image_urls[]` at 4. Over-limit is `400`.\n- Quote reference-video jobs with `reference_video_total_duration` (aggregate seconds of all reference videos). It switches the quote to the provider's \"input with video\" rate tier and the `(input + output) × pixels` token formula. Omit it and you get the no-reference baseline, which will under-quote the job.\n- `data:` URLs count toward payload size; large base64 videos may trip `413` — prefer hosted URLs.\n- `\u002Fvideo\u002Ftranscriptions` is YouTube-URL-only; it does not accept arbitrary video uploads (use ffmpeg to strip audio, then `\u002Faudio\u002Ftranscriptions`).\n",{"data":35,"body":36},{"name":4,"description":6},{"type":37,"children":38},"root",[39,47,61,191,198,250,256,268,440,453,517,529,681,692,713,724,835,894,906,998,1010,1022,1714,1720,1726,1957,1963,2160,2166,2319,2325,2620,2632,2637,2730,2757,2775,2781,3628,3634,3831,3868,3874,4075],{"type":40,"tag":41,"props":42,"children":43},"element","h1",{"id":4},[44],{"type":45,"value":46},"text","Venice Video",{"type":40,"tag":48,"props":49,"children":50},"p",{},[51,53,59],{"type":45,"value":52},"Video is ",{"type":40,"tag":54,"props":55,"children":56},"strong",{},[57],{"type":45,"value":58},"asynchronous",{"type":45,"value":60}," — like audio music. Five endpoints:",{"type":40,"tag":62,"props":63,"children":64},"table",{},[65,84],{"type":40,"tag":66,"props":67,"children":68},"thead",{},[69],{"type":40,"tag":70,"props":71,"children":72},"tr",{},[73,79],{"type":40,"tag":74,"props":75,"children":76},"th",{},[77],{"type":45,"value":78},"Endpoint",{"type":40,"tag":74,"props":80,"children":81},{},[82],{"type":45,"value":83},"Purpose",{"type":40,"tag":85,"props":86,"children":87},"tbody",{},[88,107,132,157,174],{"type":40,"tag":70,"props":89,"children":90},{},[91,102],{"type":40,"tag":92,"props":93,"children":94},"td",{},[95],{"type":40,"tag":96,"props":97,"children":99},"code",{"className":98},[],[100],{"type":45,"value":101},"POST \u002Fvideo\u002Fquote",{"type":40,"tag":92,"props":103,"children":104},{},[105],{"type":45,"value":106},"Price in USD (no charge, no job).",{"type":40,"tag":70,"props":108,"children":109},{},[110,119],{"type":40,"tag":92,"props":111,"children":112},{},[113],{"type":40,"tag":96,"props":114,"children":116},{"className":115},[],[117],{"type":45,"value":118},"POST \u002Fvideo\u002Fqueue",{"type":40,"tag":92,"props":120,"children":121},{},[122,124,130],{"type":45,"value":123},"Enqueue generation. Returns ",{"type":40,"tag":96,"props":125,"children":127},{"className":126},[],[128],{"type":45,"value":129},"queue_id",{"type":45,"value":131},", charges (reserves) funds.",{"type":40,"tag":70,"props":133,"children":134},{},[135,144],{"type":40,"tag":92,"props":136,"children":137},{},[138],{"type":40,"tag":96,"props":139,"children":141},{"className":140},[],[142],{"type":45,"value":143},"POST \u002Fvideo\u002Fretrieve",{"type":40,"tag":92,"props":145,"children":146},{},[147,149,155],{"type":45,"value":148},"Poll status or download ",{"type":40,"tag":96,"props":150,"children":152},{"className":151},[],[153],{"type":45,"value":154},"video\u002Fmp4",{"type":45,"value":156},".",{"type":40,"tag":70,"props":158,"children":159},{},[160,169],{"type":40,"tag":92,"props":161,"children":162},{},[163],{"type":40,"tag":96,"props":164,"children":166},{"className":165},[],[167],{"type":45,"value":168},"POST \u002Fvideo\u002Fcomplete",{"type":40,"tag":92,"props":170,"children":171},{},[172],{"type":45,"value":173},"Finalize & delete media from Venice storage.",{"type":40,"tag":70,"props":175,"children":176},{},[177,186],{"type":40,"tag":92,"props":178,"children":179},{},[180],{"type":40,"tag":96,"props":181,"children":183},{"className":182},[],[184],{"type":45,"value":185},"POST \u002Fvideo\u002Ftranscriptions",{"type":40,"tag":92,"props":187,"children":188},{},[189],{"type":45,"value":190},"Sync: transcribe a YouTube URL's audio.",{"type":40,"tag":192,"props":193,"children":195},"h2",{"id":194},"use-when",[196],{"type":45,"value":197},"Use when",{"type":40,"tag":199,"props":200,"children":201},"ul",{},[202,208,237],{"type":40,"tag":203,"props":204,"children":205},"li",{},[206],{"type":45,"value":207},"You need text-to-video, image-to-video, video upscale, video-with-audio, or video transcription.",{"type":40,"tag":203,"props":209,"children":210},{},[211,213,219,221,227,229,235],{"type":45,"value":212},"You can tolerate async execution (single-digit seconds to several minutes depending on model, duration, and queue depth — inspect ",{"type":40,"tag":96,"props":214,"children":216},{"className":215},[],[217],{"type":45,"value":218},"average_execution_time",{"type":45,"value":220}," and ",{"type":40,"tag":96,"props":222,"children":224},{"className":223},[],[225],{"type":45,"value":226},"execution_duration",{"type":45,"value":228}," on ",{"type":40,"tag":96,"props":230,"children":232},{"className":231},[],[233],{"type":45,"value":234},"\u002Fvideo\u002Fretrieve",{"type":45,"value":236}," for your job's live estimate).",{"type":40,"tag":203,"props":238,"children":239},{},[240,242,248],{"type":45,"value":241},"You want to price a job precisely before committing (",{"type":40,"tag":96,"props":243,"children":245},{"className":244},[],[246],{"type":45,"value":247},"\u002Fvideo\u002Fquote",{"type":45,"value":249},").",{"type":40,"tag":192,"props":251,"children":253},{"id":252},"lifecycle-generation",[254],{"type":45,"value":255},"Lifecycle — generation",{"type":40,"tag":257,"props":258,"children":260},"h3",{"id":259},"_1-price-with-videoquote",[261,263],{"type":45,"value":262},"1. Price with ",{"type":40,"tag":96,"props":264,"children":266},{"className":265},[],[267],{"type":45,"value":247},{"type":40,"tag":269,"props":270,"children":275},"pre",{"className":271,"code":272,"language":273,"meta":274,"style":274},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fquote \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"wan-2-7-text-to-video\",\n    \"duration\": \"5s\",\n    \"aspect_ratio\": \"16:9\",\n    \"resolution\": \"720p\",\n    \"audio\": true\n  }'\n","bash","",[276],{"type":40,"tag":96,"props":277,"children":278},{"__ignoreMap":274},[279,303,337,362,381,390,399,408,417,426],{"type":40,"tag":280,"props":281,"children":284},"span",{"class":282,"line":283},"line",1,[285,291,297],{"type":40,"tag":280,"props":286,"children":288},{"style":287},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[289],{"type":45,"value":290},"curl",{"type":40,"tag":280,"props":292,"children":294},{"style":293},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[295],{"type":45,"value":296}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fquote",{"type":40,"tag":280,"props":298,"children":300},{"style":299},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[301],{"type":45,"value":302}," \\\n",{"type":40,"tag":280,"props":304,"children":306},{"class":282,"line":305},2,[307,312,318,323,328,333],{"type":40,"tag":280,"props":308,"children":309},{"style":293},[310],{"type":45,"value":311},"  -H",{"type":40,"tag":280,"props":313,"children":315},{"style":314},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[316],{"type":45,"value":317}," \"",{"type":40,"tag":280,"props":319,"children":320},{"style":293},[321],{"type":45,"value":322},"Authorization: Bearer ",{"type":40,"tag":280,"props":324,"children":325},{"style":299},[326],{"type":45,"value":327},"$VENICE_API_KEY",{"type":40,"tag":280,"props":329,"children":330},{"style":314},[331],{"type":45,"value":332},"\"",{"type":40,"tag":280,"props":334,"children":335},{"style":299},[336],{"type":45,"value":302},{"type":40,"tag":280,"props":338,"children":340},{"class":282,"line":339},3,[341,345,349,354,358],{"type":40,"tag":280,"props":342,"children":343},{"style":293},[344],{"type":45,"value":311},{"type":40,"tag":280,"props":346,"children":347},{"style":314},[348],{"type":45,"value":317},{"type":40,"tag":280,"props":350,"children":351},{"style":293},[352],{"type":45,"value":353},"Content-Type: application\u002Fjson",{"type":40,"tag":280,"props":355,"children":356},{"style":314},[357],{"type":45,"value":332},{"type":40,"tag":280,"props":359,"children":360},{"style":299},[361],{"type":45,"value":302},{"type":40,"tag":280,"props":363,"children":365},{"class":282,"line":364},4,[366,371,376],{"type":40,"tag":280,"props":367,"children":368},{"style":293},[369],{"type":45,"value":370},"  -d",{"type":40,"tag":280,"props":372,"children":373},{"style":314},[374],{"type":45,"value":375}," '",{"type":40,"tag":280,"props":377,"children":378},{"style":293},[379],{"type":45,"value":380},"{\n",{"type":40,"tag":280,"props":382,"children":384},{"class":282,"line":383},5,[385],{"type":40,"tag":280,"props":386,"children":387},{"style":293},[388],{"type":45,"value":389},"    \"model\": \"wan-2-7-text-to-video\",\n",{"type":40,"tag":280,"props":391,"children":393},{"class":282,"line":392},6,[394],{"type":40,"tag":280,"props":395,"children":396},{"style":293},[397],{"type":45,"value":398},"    \"duration\": \"5s\",\n",{"type":40,"tag":280,"props":400,"children":402},{"class":282,"line":401},7,[403],{"type":40,"tag":280,"props":404,"children":405},{"style":293},[406],{"type":45,"value":407},"    \"aspect_ratio\": \"16:9\",\n",{"type":40,"tag":280,"props":409,"children":411},{"class":282,"line":410},8,[412],{"type":40,"tag":280,"props":413,"children":414},{"style":293},[415],{"type":45,"value":416},"    \"resolution\": \"720p\",\n",{"type":40,"tag":280,"props":418,"children":420},{"class":282,"line":419},9,[421],{"type":40,"tag":280,"props":422,"children":423},{"style":293},[424],{"type":45,"value":425},"    \"audio\": true\n",{"type":40,"tag":280,"props":427,"children":429},{"class":282,"line":428},10,[430,435],{"type":40,"tag":280,"props":431,"children":432},{"style":293},[433],{"type":45,"value":434},"  }",{"type":40,"tag":280,"props":436,"children":437},{"style":314},[438],{"type":45,"value":439},"'\n",{"type":40,"tag":48,"props":441,"children":442},{},[443,445,451],{"type":45,"value":444},"Response: ",{"type":40,"tag":96,"props":446,"children":448},{"className":447},[],[449],{"type":45,"value":450},"{\"quote\": 0.35}",{"type":45,"value":452}," USD.",{"type":40,"tag":48,"props":454,"children":455},{},[456,461,463,469,470,476,478,484,486,492,494,500,502,507,509,515],{"type":40,"tag":96,"props":457,"children":459},{"className":458},[],[460],{"type":45,"value":247},{"type":45,"value":462}," requires ",{"type":40,"tag":96,"props":464,"children":466},{"className":465},[],[467],{"type":45,"value":468},"model",{"type":45,"value":220},{"type":40,"tag":96,"props":471,"children":473},{"className":472},[],[474],{"type":45,"value":475},"duration",{"type":45,"value":477},". It also takes ",{"type":40,"tag":96,"props":479,"children":481},{"className":480},[],[482],{"type":45,"value":483},"resolution",{"type":45,"value":485},"\n(required for models priced by duration × resolution × rate), ",{"type":40,"tag":96,"props":487,"children":489},{"className":488},[],[490],{"type":45,"value":491},"upscale_factor",{"type":45,"value":493},"\nand ",{"type":40,"tag":96,"props":495,"children":497},{"className":496},[],[498],{"type":45,"value":499},"video_url",{"type":45,"value":501}," for upscale models (",{"type":40,"tag":96,"props":503,"children":505},{"className":504},[],[506],{"type":45,"value":499},{"type":45,"value":508}," lets Venice auto-detect the\nsource duration), and ",{"type":40,"tag":96,"props":510,"children":512},{"className":511},[],[513],{"type":45,"value":514},"reference_video_total_duration",{"type":45,"value":516}," for reference-to-video\nmodels — the aggregate seconds of every reference video you intend to send, up\nto 45. Quote a reference-video job without it and you get the no-reference\nbaseline price.",{"type":40,"tag":257,"props":518,"children":520},{"id":519},"_2-submit-with-videoqueue",[521,523],{"type":45,"value":522},"2. Submit with ",{"type":40,"tag":96,"props":524,"children":526},{"className":525},[],[527],{"type":45,"value":528},"\u002Fvideo\u002Fqueue",{"type":40,"tag":269,"props":530,"children":532},{"className":271,"code":531,"language":273,"meta":274,"style":274},"curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fqueue \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"wan-2-7-text-to-video\",\n    \"prompt\": \"Commerce being conducted in the city of Venice, Italy.\",\n    \"negative_prompt\": \"low resolution, worst quality, defects\",\n    \"duration\": \"5s\",\n    \"aspect_ratio\": \"16:9\",\n    \"resolution\": \"720p\",\n    \"audio\": true\n  }'\n",[533],{"type":40,"tag":96,"props":534,"children":535},{"__ignoreMap":274},[536,552,579,602,617,624,632,640,647,654,661,669],{"type":40,"tag":280,"props":537,"children":538},{"class":282,"line":283},[539,543,548],{"type":40,"tag":280,"props":540,"children":541},{"style":287},[542],{"type":45,"value":290},{"type":40,"tag":280,"props":544,"children":545},{"style":293},[546],{"type":45,"value":547}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fqueue",{"type":40,"tag":280,"props":549,"children":550},{"style":299},[551],{"type":45,"value":302},{"type":40,"tag":280,"props":553,"children":554},{"class":282,"line":305},[555,559,563,567,571,575],{"type":40,"tag":280,"props":556,"children":557},{"style":293},[558],{"type":45,"value":311},{"type":40,"tag":280,"props":560,"children":561},{"style":314},[562],{"type":45,"value":317},{"type":40,"tag":280,"props":564,"children":565},{"style":293},[566],{"type":45,"value":322},{"type":40,"tag":280,"props":568,"children":569},{"style":299},[570],{"type":45,"value":327},{"type":40,"tag":280,"props":572,"children":573},{"style":314},[574],{"type":45,"value":332},{"type":40,"tag":280,"props":576,"children":577},{"style":299},[578],{"type":45,"value":302},{"type":40,"tag":280,"props":580,"children":581},{"class":282,"line":339},[582,586,590,594,598],{"type":40,"tag":280,"props":583,"children":584},{"style":293},[585],{"type":45,"value":311},{"type":40,"tag":280,"props":587,"children":588},{"style":314},[589],{"type":45,"value":317},{"type":40,"tag":280,"props":591,"children":592},{"style":293},[593],{"type":45,"value":353},{"type":40,"tag":280,"props":595,"children":596},{"style":314},[597],{"type":45,"value":332},{"type":40,"tag":280,"props":599,"children":600},{"style":299},[601],{"type":45,"value":302},{"type":40,"tag":280,"props":603,"children":604},{"class":282,"line":364},[605,609,613],{"type":40,"tag":280,"props":606,"children":607},{"style":293},[608],{"type":45,"value":370},{"type":40,"tag":280,"props":610,"children":611},{"style":314},[612],{"type":45,"value":375},{"type":40,"tag":280,"props":614,"children":615},{"style":293},[616],{"type":45,"value":380},{"type":40,"tag":280,"props":618,"children":619},{"class":282,"line":383},[620],{"type":40,"tag":280,"props":621,"children":622},{"style":293},[623],{"type":45,"value":389},{"type":40,"tag":280,"props":625,"children":626},{"class":282,"line":392},[627],{"type":40,"tag":280,"props":628,"children":629},{"style":293},[630],{"type":45,"value":631},"    \"prompt\": \"Commerce being conducted in the city of Venice, Italy.\",\n",{"type":40,"tag":280,"props":633,"children":634},{"class":282,"line":401},[635],{"type":40,"tag":280,"props":636,"children":637},{"style":293},[638],{"type":45,"value":639},"    \"negative_prompt\": \"low resolution, worst quality, defects\",\n",{"type":40,"tag":280,"props":641,"children":642},{"class":282,"line":410},[643],{"type":40,"tag":280,"props":644,"children":645},{"style":293},[646],{"type":45,"value":398},{"type":40,"tag":280,"props":648,"children":649},{"class":282,"line":419},[650],{"type":40,"tag":280,"props":651,"children":652},{"style":293},[653],{"type":45,"value":407},{"type":40,"tag":280,"props":655,"children":656},{"class":282,"line":428},[657],{"type":40,"tag":280,"props":658,"children":659},{"style":293},[660],{"type":45,"value":416},{"type":40,"tag":280,"props":662,"children":664},{"class":282,"line":663},11,[665],{"type":40,"tag":280,"props":666,"children":667},{"style":293},[668],{"type":45,"value":425},{"type":40,"tag":280,"props":670,"children":672},{"class":282,"line":671},12,[673,677],{"type":40,"tag":280,"props":674,"children":675},{"style":293},[676],{"type":45,"value":434},{"type":40,"tag":280,"props":678,"children":679},{"style":314},[680],{"type":45,"value":439},{"type":40,"tag":48,"props":682,"children":683},{},[684,685,691],{"type":45,"value":444},{"type":40,"tag":96,"props":686,"children":688},{"className":687},[],[689],{"type":45,"value":690},"{ \"model\": \"...\", \"queue_id\": \"uuid\", \"download_url\": \"https:\u002F\u002F...\" }",{"type":45,"value":156},{"type":40,"tag":199,"props":693,"children":694},{},[695],{"type":40,"tag":203,"props":696,"children":697},{},[698,704,706,711],{"type":40,"tag":96,"props":699,"children":701},{"className":700},[],[702],{"type":45,"value":703},"download_url",{"type":45,"value":705}," only appears for ",{"type":40,"tag":54,"props":707,"children":708},{},[709],{"type":45,"value":710},"VPS-backed",{"type":45,"value":712}," models. When present, the retrieve endpoint returns JSON status only — fetch this URL to download. Valid 24 h.",{"type":40,"tag":257,"props":714,"children":716},{"id":715},"_3-poll-with-videoretrieve",[717,719],{"type":45,"value":718},"3. Poll with ",{"type":40,"tag":96,"props":720,"children":722},{"className":721},[],[723],{"type":45,"value":234},{"type":40,"tag":269,"props":725,"children":727},{"className":271,"code":726,"language":273,"meta":274,"style":274},"curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fretrieve \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"model\":\"...\",\"queue_id\":\"...\"}' \\\n  --output out.mp4\n",[728],{"type":40,"tag":96,"props":729,"children":730},{"__ignoreMap":274},[731,747,774,797,822],{"type":40,"tag":280,"props":732,"children":733},{"class":282,"line":283},[734,738,743],{"type":40,"tag":280,"props":735,"children":736},{"style":287},[737],{"type":45,"value":290},{"type":40,"tag":280,"props":739,"children":740},{"style":293},[741],{"type":45,"value":742}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fretrieve",{"type":40,"tag":280,"props":744,"children":745},{"style":299},[746],{"type":45,"value":302},{"type":40,"tag":280,"props":748,"children":749},{"class":282,"line":305},[750,754,758,762,766,770],{"type":40,"tag":280,"props":751,"children":752},{"style":293},[753],{"type":45,"value":311},{"type":40,"tag":280,"props":755,"children":756},{"style":314},[757],{"type":45,"value":317},{"type":40,"tag":280,"props":759,"children":760},{"style":293},[761],{"type":45,"value":322},{"type":40,"tag":280,"props":763,"children":764},{"style":299},[765],{"type":45,"value":327},{"type":40,"tag":280,"props":767,"children":768},{"style":314},[769],{"type":45,"value":332},{"type":40,"tag":280,"props":771,"children":772},{"style":299},[773],{"type":45,"value":302},{"type":40,"tag":280,"props":775,"children":776},{"class":282,"line":339},[777,781,785,789,793],{"type":40,"tag":280,"props":778,"children":779},{"style":293},[780],{"type":45,"value":311},{"type":40,"tag":280,"props":782,"children":783},{"style":314},[784],{"type":45,"value":317},{"type":40,"tag":280,"props":786,"children":787},{"style":293},[788],{"type":45,"value":353},{"type":40,"tag":280,"props":790,"children":791},{"style":314},[792],{"type":45,"value":332},{"type":40,"tag":280,"props":794,"children":795},{"style":299},[796],{"type":45,"value":302},{"type":40,"tag":280,"props":798,"children":799},{"class":282,"line":364},[800,804,808,813,818],{"type":40,"tag":280,"props":801,"children":802},{"style":293},[803],{"type":45,"value":370},{"type":40,"tag":280,"props":805,"children":806},{"style":314},[807],{"type":45,"value":375},{"type":40,"tag":280,"props":809,"children":810},{"style":293},[811],{"type":45,"value":812},"{\"model\":\"...\",\"queue_id\":\"...\"}",{"type":40,"tag":280,"props":814,"children":815},{"style":314},[816],{"type":45,"value":817},"'",{"type":40,"tag":280,"props":819,"children":820},{"style":299},[821],{"type":45,"value":302},{"type":40,"tag":280,"props":823,"children":824},{"class":282,"line":383},[825,830],{"type":40,"tag":280,"props":826,"children":827},{"style":293},[828],{"type":45,"value":829},"  --output",{"type":40,"tag":280,"props":831,"children":832},{"style":293},[833],{"type":45,"value":834}," out.mp4\n",{"type":40,"tag":199,"props":836,"children":837},{},[838,851,863,883],{"type":40,"tag":203,"props":839,"children":840},{},[841,843,849],{"type":45,"value":842},"Processing: JSON ",{"type":40,"tag":96,"props":844,"children":846},{"className":845},[],[847],{"type":45,"value":848},"{\"status\":\"PROCESSING\",\"average_execution_time\":145000,\"execution_duration\":53200}",{"type":45,"value":850}," (ms).",{"type":40,"tag":203,"props":852,"children":853},{},[854,856,861],{"type":45,"value":855},"Completed (non-VPS): binary ",{"type":40,"tag":96,"props":857,"children":859},{"className":858},[],[860],{"type":45,"value":154},{"type":45,"value":862}," body.",{"type":40,"tag":203,"props":864,"children":865},{},[866,868,874,876,881],{"type":45,"value":867},"Completed (VPS-backed): ",{"type":40,"tag":96,"props":869,"children":871},{"className":870},[],[872],{"type":45,"value":873},"{\"status\":\"COMPLETED\", ...}",{"type":45,"value":875}," — fetch the ",{"type":40,"tag":96,"props":877,"children":879},{"className":878},[],[880],{"type":45,"value":703},{"type":45,"value":882}," from the queue response.",{"type":40,"tag":203,"props":884,"children":885},{},[886,892],{"type":40,"tag":96,"props":887,"children":889},{"className":888},[],[890],{"type":45,"value":891},"delete_media_on_completion: true",{"type":45,"value":893}," auto-deletes after successful retrieve.",{"type":40,"tag":257,"props":895,"children":897},{"id":896},"_4-finalize-with-videocomplete",[898,900],{"type":45,"value":899},"4. Finalize with ",{"type":40,"tag":96,"props":901,"children":903},{"className":902},[],[904],{"type":45,"value":905},"\u002Fvideo\u002Fcomplete",{"type":40,"tag":269,"props":907,"children":909},{"className":271,"code":908,"language":273,"meta":274,"style":274},"curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fcomplete \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"model\":\"...\",\"queue_id\":\"...\"}'\n",[910],{"type":40,"tag":96,"props":911,"children":912},{"__ignoreMap":274},[913,929,956,979],{"type":40,"tag":280,"props":914,"children":915},{"class":282,"line":283},[916,920,925],{"type":40,"tag":280,"props":917,"children":918},{"style":287},[919],{"type":45,"value":290},{"type":40,"tag":280,"props":921,"children":922},{"style":293},[923],{"type":45,"value":924}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Fcomplete",{"type":40,"tag":280,"props":926,"children":927},{"style":299},[928],{"type":45,"value":302},{"type":40,"tag":280,"props":930,"children":931},{"class":282,"line":305},[932,936,940,944,948,952],{"type":40,"tag":280,"props":933,"children":934},{"style":293},[935],{"type":45,"value":311},{"type":40,"tag":280,"props":937,"children":938},{"style":314},[939],{"type":45,"value":317},{"type":40,"tag":280,"props":941,"children":942},{"style":293},[943],{"type":45,"value":322},{"type":40,"tag":280,"props":945,"children":946},{"style":299},[947],{"type":45,"value":327},{"type":40,"tag":280,"props":949,"children":950},{"style":314},[951],{"type":45,"value":332},{"type":40,"tag":280,"props":953,"children":954},{"style":299},[955],{"type":45,"value":302},{"type":40,"tag":280,"props":957,"children":958},{"class":282,"line":339},[959,963,967,971,975],{"type":40,"tag":280,"props":960,"children":961},{"style":293},[962],{"type":45,"value":311},{"type":40,"tag":280,"props":964,"children":965},{"style":314},[966],{"type":45,"value":317},{"type":40,"tag":280,"props":968,"children":969},{"style":293},[970],{"type":45,"value":353},{"type":40,"tag":280,"props":972,"children":973},{"style":314},[974],{"type":45,"value":332},{"type":40,"tag":280,"props":976,"children":977},{"style":299},[978],{"type":45,"value":302},{"type":40,"tag":280,"props":980,"children":981},{"class":282,"line":364},[982,986,990,994],{"type":40,"tag":280,"props":983,"children":984},{"style":293},[985],{"type":45,"value":370},{"type":40,"tag":280,"props":987,"children":988},{"style":314},[989],{"type":45,"value":375},{"type":40,"tag":280,"props":991,"children":992},{"style":293},[993],{"type":45,"value":812},{"type":40,"tag":280,"props":995,"children":996},{"style":314},[997],{"type":45,"value":439},{"type":40,"tag":192,"props":999,"children":1001},{"id":1000},"queuevideorequest-fields",[1002,1008],{"type":40,"tag":96,"props":1003,"children":1005},{"className":1004},[],[1006],{"type":45,"value":1007},"QueueVideoRequest",{"type":45,"value":1009}," fields",{"type":40,"tag":48,"props":1011,"children":1012},{},[1013,1015,1021],{"type":45,"value":1014},"Availability depends on the model — check ",{"type":40,"tag":96,"props":1016,"children":1018},{"className":1017},[],[1019],{"type":45,"value":1020},"GET \u002Fmodels?type=video",{"type":45,"value":156},{"type":40,"tag":62,"props":1023,"children":1024},{},[1025,1046],{"type":40,"tag":66,"props":1026,"children":1027},{},[1028],{"type":40,"tag":70,"props":1029,"children":1030},{},[1031,1036,1041],{"type":40,"tag":74,"props":1032,"children":1033},{},[1034],{"type":45,"value":1035},"Field",{"type":40,"tag":74,"props":1037,"children":1038},{},[1039],{"type":45,"value":1040},"Type",{"type":40,"tag":74,"props":1042,"children":1043},{},[1044],{"type":45,"value":1045},"Notes",{"type":40,"tag":85,"props":1047,"children":1048},{},[1049,1070,1097,1118,1196,1271,1326,1372,1402,1432,1454,1475,1495,1517,1555,1598,1620,1678],{"type":40,"tag":70,"props":1050,"children":1051},{},[1052,1060,1065],{"type":40,"tag":92,"props":1053,"children":1054},{},[1055],{"type":40,"tag":96,"props":1056,"children":1058},{"className":1057},[],[1059],{"type":45,"value":468},{"type":40,"tag":92,"props":1061,"children":1062},{},[1063],{"type":45,"value":1064},"string",{"type":40,"tag":92,"props":1066,"children":1067},{},[1068],{"type":45,"value":1069},"Required.",{"type":40,"tag":70,"props":1071,"children":1072},{},[1073,1082,1087],{"type":40,"tag":92,"props":1074,"children":1075},{},[1076],{"type":40,"tag":96,"props":1077,"children":1079},{"className":1078},[],[1080],{"type":45,"value":1081},"prompt",{"type":40,"tag":92,"props":1083,"children":1084},{},[1085],{"type":45,"value":1086},"string, ≤ 2500–3500",{"type":40,"tag":92,"props":1088,"children":1089},{},[1090,1095],{"type":40,"tag":54,"props":1091,"children":1092},{},[1093],{"type":45,"value":1094},"Required",{"type":45,"value":1096}," (min length 1). Max length varies per model.",{"type":40,"tag":70,"props":1098,"children":1099},{},[1100,1109,1113],{"type":40,"tag":92,"props":1101,"children":1102},{},[1103],{"type":40,"tag":96,"props":1104,"children":1106},{"className":1105},[],[1107],{"type":45,"value":1108},"negative_prompt",{"type":40,"tag":92,"props":1110,"children":1111},{},[1112],{"type":45,"value":1086},{"type":40,"tag":92,"props":1114,"children":1115},{},[1116],{"type":45,"value":1117},"—",{"type":40,"tag":70,"props":1119,"children":1120},{},[1121,1129,1184],{"type":40,"tag":92,"props":1122,"children":1123},{},[1124],{"type":40,"tag":96,"props":1125,"children":1127},{"className":1126},[],[1128],{"type":45,"value":475},{"type":40,"tag":92,"props":1130,"children":1131},{},[1132,1134,1140,1142,1148,1150,1156,1157,1163,1164,1170,1171,1177,1178],{"type":45,"value":1133},"enum ",{"type":40,"tag":96,"props":1135,"children":1137},{"className":1136},[],[1138],{"type":45,"value":1139},"1s..16s",{"type":45,"value":1141}," in 1s steps, plus ",{"type":40,"tag":96,"props":1143,"children":1145},{"className":1144},[],[1146],{"type":45,"value":1147},"18s",{"type":45,"value":1149},", ",{"type":40,"tag":96,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":45,"value":1155},"20s",{"type":45,"value":1149},{"type":40,"tag":96,"props":1158,"children":1160},{"className":1159},[],[1161],{"type":45,"value":1162},"25s",{"type":45,"value":1149},{"type":40,"tag":96,"props":1165,"children":1167},{"className":1166},[],[1168],{"type":45,"value":1169},"30s",{"type":45,"value":1149},{"type":40,"tag":96,"props":1172,"children":1174},{"className":1173},[],[1175],{"type":45,"value":1176},"1 gen",{"type":45,"value":1149},{"type":40,"tag":96,"props":1179,"children":1181},{"className":1180},[],[1182],{"type":45,"value":1183},"Auto",{"type":40,"tag":92,"props":1185,"children":1186},{},[1187,1189,1194],{"type":45,"value":1188},"Required. Model-specific subset. ",{"type":40,"tag":96,"props":1190,"children":1192},{"className":1191},[],[1193],{"type":45,"value":1176},{"type":45,"value":1195}," means one generation unit for models priced per generation rather than per second.",{"type":40,"tag":70,"props":1197,"children":1198},{},[1199,1208,1266],{"type":40,"tag":92,"props":1200,"children":1201},{},[1202],{"type":40,"tag":96,"props":1203,"children":1205},{"className":1204},[],[1206],{"type":45,"value":1207},"aspect_ratio",{"type":40,"tag":92,"props":1209,"children":1210},{},[1211,1217,1218,1224,1225,1231,1232,1238,1239,1245,1246,1252,1253,1259,1260],{"type":40,"tag":96,"props":1212,"children":1214},{"className":1213},[],[1215],{"type":45,"value":1216},"1:1",{"type":45,"value":1149},{"type":40,"tag":96,"props":1219,"children":1221},{"className":1220},[],[1222],{"type":45,"value":1223},"2:3",{"type":45,"value":1149},{"type":40,"tag":96,"props":1226,"children":1228},{"className":1227},[],[1229],{"type":45,"value":1230},"3:2",{"type":45,"value":1149},{"type":40,"tag":96,"props":1233,"children":1235},{"className":1234},[],[1236],{"type":45,"value":1237},"3:4",{"type":45,"value":1149},{"type":40,"tag":96,"props":1240,"children":1242},{"className":1241},[],[1243],{"type":45,"value":1244},"4:3",{"type":45,"value":1149},{"type":40,"tag":96,"props":1247,"children":1249},{"className":1248},[],[1250],{"type":45,"value":1251},"9:16",{"type":45,"value":1149},{"type":40,"tag":96,"props":1254,"children":1256},{"className":1255},[],[1257],{"type":45,"value":1258},"16:9",{"type":45,"value":1149},{"type":40,"tag":96,"props":1261,"children":1263},{"className":1262},[],[1264],{"type":45,"value":1265},"21:9",{"type":40,"tag":92,"props":1267,"children":1268},{},[1269],{"type":45,"value":1270},"Some models ignore.",{"type":40,"tag":70,"props":1272,"children":1273},{},[1274,1282,1314],{"type":40,"tag":92,"props":1275,"children":1276},{},[1277],{"type":40,"tag":96,"props":1278,"children":1280},{"className":1279},[],[1281],{"type":45,"value":483},{"type":40,"tag":92,"props":1283,"children":1284},{},[1285,1291,1293,1299,1301,1307,1308],{"type":40,"tag":96,"props":1286,"children":1288},{"className":1287},[],[1289],{"type":45,"value":1290},"256p..4k",{"type":45,"value":1292},", or upscale hints ",{"type":40,"tag":96,"props":1294,"children":1296},{"className":1295},[],[1297],{"type":45,"value":1298},"2x",{"type":45,"value":1300}," \u002F ",{"type":40,"tag":96,"props":1302,"children":1304},{"className":1303},[],[1305],{"type":45,"value":1306},"4x",{"type":45,"value":1300},{"type":40,"tag":96,"props":1309,"children":1311},{"className":1310},[],[1312],{"type":45,"value":1313},"true_1080p",{"type":40,"tag":92,"props":1315,"children":1316},{},[1317,1319,1324],{"type":45,"value":1318},"Use ",{"type":40,"tag":96,"props":1320,"children":1322},{"className":1321},[],[1323],{"type":45,"value":491},{"type":45,"value":1325}," for upscale models.",{"type":40,"tag":70,"props":1327,"children":1328},{},[1329,1337,1360],{"type":40,"tag":92,"props":1330,"children":1331},{},[1332],{"type":40,"tag":96,"props":1333,"children":1335},{"className":1334},[],[1336],{"type":45,"value":491},{"type":40,"tag":92,"props":1338,"children":1339},{},[1340,1346,1347,1353,1354],{"type":40,"tag":96,"props":1341,"children":1343},{"className":1342},[],[1344],{"type":45,"value":1345},"1",{"type":45,"value":1300},{"type":40,"tag":96,"props":1348,"children":1350},{"className":1349},[],[1351],{"type":45,"value":1352},"2",{"type":45,"value":1300},{"type":40,"tag":96,"props":1355,"children":1357},{"className":1356},[],[1358],{"type":45,"value":1359},"4",{"type":40,"tag":92,"props":1361,"children":1362},{},[1363,1365,1370],{"type":45,"value":1364},"Only for upscale models. ",{"type":40,"tag":96,"props":1366,"children":1368},{"className":1367},[],[1369],{"type":45,"value":1345},{"type":45,"value":1371}," = quality enhancement.",{"type":40,"tag":70,"props":1373,"children":1374},{},[1375,1384,1389],{"type":40,"tag":92,"props":1376,"children":1377},{},[1378],{"type":40,"tag":96,"props":1379,"children":1381},{"className":1380},[],[1382],{"type":45,"value":1383},"audio",{"type":40,"tag":92,"props":1385,"children":1386},{},[1387],{"type":45,"value":1388},"bool",{"type":40,"tag":92,"props":1390,"children":1391},{},[1392,1394,1400],{"type":45,"value":1393},"Default ",{"type":40,"tag":96,"props":1395,"children":1397},{"className":1396},[],[1398],{"type":45,"value":1399},"true",{"type":45,"value":1401},". Audio-capable models.",{"type":40,"tag":70,"props":1403,"children":1404},{},[1405,1414,1427],{"type":40,"tag":92,"props":1406,"children":1407},{},[1408],{"type":40,"tag":96,"props":1409,"children":1411},{"className":1410},[],[1412],{"type":45,"value":1413},"image_url",{"type":40,"tag":92,"props":1415,"children":1416},{},[1417,1419,1425],{"type":45,"value":1418},"URL or ",{"type":40,"tag":96,"props":1420,"children":1422},{"className":1421},[],[1423],{"type":45,"value":1424},"data:",{"type":45,"value":1426}," URL",{"type":40,"tag":92,"props":1428,"children":1429},{},[1430],{"type":45,"value":1431},"Image-to-video reference frame.",{"type":40,"tag":70,"props":1433,"children":1434},{},[1435,1444,1449],{"type":40,"tag":92,"props":1436,"children":1437},{},[1438],{"type":40,"tag":96,"props":1439,"children":1441},{"className":1440},[],[1442],{"type":45,"value":1443},"end_image_url",{"type":40,"tag":92,"props":1445,"children":1446},{},[1447],{"type":45,"value":1448},"URL or data URL",{"type":40,"tag":92,"props":1450,"children":1451},{},[1452],{"type":45,"value":1453},"End frame \u002F transition reference.",{"type":40,"tag":70,"props":1455,"children":1456},{},[1457,1466,1470],{"type":40,"tag":92,"props":1458,"children":1459},{},[1460],{"type":40,"tag":96,"props":1461,"children":1463},{"className":1462},[],[1464],{"type":45,"value":1465},"audio_url",{"type":40,"tag":92,"props":1467,"children":1468},{},[1469],{"type":45,"value":1448},{"type":40,"tag":92,"props":1471,"children":1472},{},[1473],{"type":45,"value":1474},"Background music input. WAV\u002FMP3, ≤ 30 s, ≤ 15 MB.",{"type":40,"tag":70,"props":1476,"children":1477},{},[1478,1486,1490],{"type":40,"tag":92,"props":1479,"children":1480},{},[1481],{"type":40,"tag":96,"props":1482,"children":1484},{"className":1483},[],[1485],{"type":45,"value":499},{"type":40,"tag":92,"props":1487,"children":1488},{},[1489],{"type":45,"value":1448},{"type":40,"tag":92,"props":1491,"children":1492},{},[1493],{"type":45,"value":1494},"Video-to-video \u002F upscale input. MP4\u002FMOV\u002FWebM.",{"type":40,"tag":70,"props":1496,"children":1497},{},[1498,1507,1512],{"type":40,"tag":92,"props":1499,"children":1500},{},[1501],{"type":40,"tag":96,"props":1502,"children":1504},{"className":1503},[],[1505],{"type":45,"value":1506},"reference_image_urls[]",{"type":40,"tag":92,"props":1508,"children":1509},{},[1510],{"type":45,"value":1511},"array of URLs, ≤ 9",{"type":40,"tag":92,"props":1513,"children":1514},{},[1515],{"type":45,"value":1516},"Character \u002F style consistency images.",{"type":40,"tag":70,"props":1518,"children":1519},{},[1520,1529,1534],{"type":40,"tag":92,"props":1521,"children":1522},{},[1523],{"type":40,"tag":96,"props":1524,"children":1526},{"className":1525},[],[1527],{"type":45,"value":1528},"reference_video_urls[]",{"type":40,"tag":92,"props":1530,"children":1531},{},[1532],{"type":45,"value":1533},"array of URLs, ≤ 3",{"type":40,"tag":92,"props":1535,"children":1536},{},[1537,1539,1545,1547,1553],{"type":45,"value":1538},"Reference-to-video models (e.g. Seedance 2.0 R2V). Inherits subject motion, camera movement, and style. Per clip 2–15 s, ",{"type":40,"tag":96,"props":1540,"children":1542},{"className":1541},[],[1543],{"type":45,"value":1544},".mp4",{"type":45,"value":1546}," or ",{"type":40,"tag":96,"props":1548,"children":1550},{"className":1549},[],[1551],{"type":45,"value":1552},".mov",{"type":45,"value":1554},", ≤ 50 MB; aggregate ≤ 15 s.",{"type":40,"tag":70,"props":1556,"children":1557},{},[1558,1567,1571],{"type":40,"tag":92,"props":1559,"children":1560},{},[1561],{"type":40,"tag":96,"props":1562,"children":1564},{"className":1563},[],[1565],{"type":45,"value":1566},"reference_audio_urls[]",{"type":40,"tag":92,"props":1568,"children":1569},{},[1570],{"type":45,"value":1533},{"type":40,"tag":92,"props":1572,"children":1573},{},[1574,1576,1582,1583,1589,1591,1596],{"type":45,"value":1575},"Donor audio for vocal timbre, narration, or sound effects. Per clip 2–15 s, ",{"type":40,"tag":96,"props":1577,"children":1579},{"className":1578},[],[1580],{"type":45,"value":1581},".wav",{"type":45,"value":1546},{"type":40,"tag":96,"props":1584,"children":1586},{"className":1585},[],[1587],{"type":45,"value":1588},".mp3",{"type":45,"value":1590},"; aggregate ≤ 15 s. ",{"type":40,"tag":54,"props":1592,"children":1593},{},[1594],{"type":45,"value":1595},"Must be paired with at least one reference image or reference video",{"type":45,"value":1597}," — audio-only Reference workflows are rejected at validation.",{"type":40,"tag":70,"props":1599,"children":1600},{},[1601,1610,1615],{"type":40,"tag":92,"props":1602,"children":1603},{},[1604],{"type":40,"tag":96,"props":1605,"children":1607},{"className":1606},[],[1608],{"type":45,"value":1609},"consents",{"type":40,"tag":92,"props":1611,"children":1612},{},[1613],{"type":45,"value":1614},"object",{"type":40,"tag":92,"props":1616,"children":1617},{},[1618],{"type":45,"value":1619},"Provider-specific consent attestations. Seedance requires consent only when the submitted media contains faces.",{"type":40,"tag":70,"props":1621,"children":1622},{},[1623,1632,1637],{"type":40,"tag":92,"props":1624,"children":1625},{},[1626],{"type":40,"tag":96,"props":1627,"children":1629},{"className":1628},[],[1630],{"type":45,"value":1631},"elements[]",{"type":40,"tag":92,"props":1633,"children":1634},{},[1635],{"type":45,"value":1636},"array, ≤ 4",{"type":40,"tag":92,"props":1638,"children":1639},{},[1640,1642,1648,1650,1656,1657,1662,1664,1670,1671,1677],{"type":45,"value":1641},"Advanced models (e.g. Kling O3 R2V): each has ",{"type":40,"tag":96,"props":1643,"children":1645},{"className":1644},[],[1646],{"type":45,"value":1647},"frontal_image_url",{"type":45,"value":1649},", up to 3 ",{"type":40,"tag":96,"props":1651,"children":1653},{"className":1652},[],[1654],{"type":45,"value":1655},"reference_image_urls",{"type":45,"value":1149},{"type":40,"tag":96,"props":1658,"children":1660},{"className":1659},[],[1661],{"type":45,"value":499},{"type":45,"value":1663},". Reference in prompt as ",{"type":40,"tag":96,"props":1665,"children":1667},{"className":1666},[],[1668],{"type":45,"value":1669},"@Element1",{"type":45,"value":1149},{"type":40,"tag":96,"props":1672,"children":1674},{"className":1673},[],[1675],{"type":45,"value":1676},"@Element2",{"type":45,"value":156},{"type":40,"tag":70,"props":1679,"children":1680},{},[1681,1690,1695],{"type":40,"tag":92,"props":1682,"children":1683},{},[1684],{"type":40,"tag":96,"props":1685,"children":1687},{"className":1686},[],[1688],{"type":45,"value":1689},"scene_image_urls[]",{"type":40,"tag":92,"props":1691,"children":1692},{},[1693],{"type":45,"value":1694},"array of URLs, ≤ 4",{"type":40,"tag":92,"props":1696,"children":1697},{},[1698,1700,1706,1707,1713],{"type":45,"value":1699},"Advanced scene refs; reference in prompt as ",{"type":40,"tag":96,"props":1701,"children":1703},{"className":1702},[],[1704],{"type":45,"value":1705},"@Image1",{"type":45,"value":1149},{"type":40,"tag":96,"props":1708,"children":1710},{"className":1709},[],[1711],{"type":45,"value":1712},"@Image2",{"type":45,"value":156},{"type":40,"tag":192,"props":1715,"children":1717},{"id":1716},"common-recipes",[1718],{"type":45,"value":1719},"Common recipes",{"type":40,"tag":257,"props":1721,"children":1723},{"id":1722},"text-video-with-audio",[1724],{"type":45,"value":1725},"Text → video with audio",{"type":40,"tag":269,"props":1727,"children":1731},{"className":1728,"code":1729,"language":1730,"meta":274,"style":274},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"model\": \"wan-2-7-text-to-video\",\n  \"prompt\": \"A golden retriever chasing a frisbee in slow motion at sunset.\",\n  \"duration\": \"6s\",\n  \"aspect_ratio\": \"16:9\",\n  \"resolution\": \"720p\",\n  \"audio\": true\n}\n","json",[1732],{"type":40,"tag":96,"props":1733,"children":1734},{"__ignoreMap":274},[1735,1742,1782,1818,1854,1889,1925,1949],{"type":40,"tag":280,"props":1736,"children":1737},{"class":282,"line":283},[1738],{"type":40,"tag":280,"props":1739,"children":1740},{"style":314},[1741],{"type":45,"value":380},{"type":40,"tag":280,"props":1743,"children":1744},{"class":282,"line":305},[1745,1750,1755,1759,1764,1768,1773,1777],{"type":40,"tag":280,"props":1746,"children":1747},{"style":314},[1748],{"type":45,"value":1749},"  \"",{"type":40,"tag":280,"props":1751,"children":1753},{"style":1752},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1754],{"type":45,"value":468},{"type":40,"tag":280,"props":1756,"children":1757},{"style":314},[1758],{"type":45,"value":332},{"type":40,"tag":280,"props":1760,"children":1761},{"style":314},[1762],{"type":45,"value":1763},":",{"type":40,"tag":280,"props":1765,"children":1766},{"style":314},[1767],{"type":45,"value":317},{"type":40,"tag":280,"props":1769,"children":1770},{"style":293},[1771],{"type":45,"value":1772},"wan-2-7-text-to-video",{"type":40,"tag":280,"props":1774,"children":1775},{"style":314},[1776],{"type":45,"value":332},{"type":40,"tag":280,"props":1778,"children":1779},{"style":314},[1780],{"type":45,"value":1781},",\n",{"type":40,"tag":280,"props":1783,"children":1784},{"class":282,"line":339},[1785,1789,1793,1797,1801,1805,1810,1814],{"type":40,"tag":280,"props":1786,"children":1787},{"style":314},[1788],{"type":45,"value":1749},{"type":40,"tag":280,"props":1790,"children":1791},{"style":1752},[1792],{"type":45,"value":1081},{"type":40,"tag":280,"props":1794,"children":1795},{"style":314},[1796],{"type":45,"value":332},{"type":40,"tag":280,"props":1798,"children":1799},{"style":314},[1800],{"type":45,"value":1763},{"type":40,"tag":280,"props":1802,"children":1803},{"style":314},[1804],{"type":45,"value":317},{"type":40,"tag":280,"props":1806,"children":1807},{"style":293},[1808],{"type":45,"value":1809},"A golden retriever chasing a frisbee in slow motion at sunset.",{"type":40,"tag":280,"props":1811,"children":1812},{"style":314},[1813],{"type":45,"value":332},{"type":40,"tag":280,"props":1815,"children":1816},{"style":314},[1817],{"type":45,"value":1781},{"type":40,"tag":280,"props":1819,"children":1820},{"class":282,"line":364},[1821,1825,1829,1833,1837,1841,1846,1850],{"type":40,"tag":280,"props":1822,"children":1823},{"style":314},[1824],{"type":45,"value":1749},{"type":40,"tag":280,"props":1826,"children":1827},{"style":1752},[1828],{"type":45,"value":475},{"type":40,"tag":280,"props":1830,"children":1831},{"style":314},[1832],{"type":45,"value":332},{"type":40,"tag":280,"props":1834,"children":1835},{"style":314},[1836],{"type":45,"value":1763},{"type":40,"tag":280,"props":1838,"children":1839},{"style":314},[1840],{"type":45,"value":317},{"type":40,"tag":280,"props":1842,"children":1843},{"style":293},[1844],{"type":45,"value":1845},"6s",{"type":40,"tag":280,"props":1847,"children":1848},{"style":314},[1849],{"type":45,"value":332},{"type":40,"tag":280,"props":1851,"children":1852},{"style":314},[1853],{"type":45,"value":1781},{"type":40,"tag":280,"props":1855,"children":1856},{"class":282,"line":383},[1857,1861,1865,1869,1873,1877,1881,1885],{"type":40,"tag":280,"props":1858,"children":1859},{"style":314},[1860],{"type":45,"value":1749},{"type":40,"tag":280,"props":1862,"children":1863},{"style":1752},[1864],{"type":45,"value":1207},{"type":40,"tag":280,"props":1866,"children":1867},{"style":314},[1868],{"type":45,"value":332},{"type":40,"tag":280,"props":1870,"children":1871},{"style":314},[1872],{"type":45,"value":1763},{"type":40,"tag":280,"props":1874,"children":1875},{"style":314},[1876],{"type":45,"value":317},{"type":40,"tag":280,"props":1878,"children":1879},{"style":293},[1880],{"type":45,"value":1258},{"type":40,"tag":280,"props":1882,"children":1883},{"style":314},[1884],{"type":45,"value":332},{"type":40,"tag":280,"props":1886,"children":1887},{"style":314},[1888],{"type":45,"value":1781},{"type":40,"tag":280,"props":1890,"children":1891},{"class":282,"line":392},[1892,1896,1900,1904,1908,1912,1917,1921],{"type":40,"tag":280,"props":1893,"children":1894},{"style":314},[1895],{"type":45,"value":1749},{"type":40,"tag":280,"props":1897,"children":1898},{"style":1752},[1899],{"type":45,"value":483},{"type":40,"tag":280,"props":1901,"children":1902},{"style":314},[1903],{"type":45,"value":332},{"type":40,"tag":280,"props":1905,"children":1906},{"style":314},[1907],{"type":45,"value":1763},{"type":40,"tag":280,"props":1909,"children":1910},{"style":314},[1911],{"type":45,"value":317},{"type":40,"tag":280,"props":1913,"children":1914},{"style":293},[1915],{"type":45,"value":1916},"720p",{"type":40,"tag":280,"props":1918,"children":1919},{"style":314},[1920],{"type":45,"value":332},{"type":40,"tag":280,"props":1922,"children":1923},{"style":314},[1924],{"type":45,"value":1781},{"type":40,"tag":280,"props":1926,"children":1927},{"class":282,"line":401},[1928,1932,1936,1940,1944],{"type":40,"tag":280,"props":1929,"children":1930},{"style":314},[1931],{"type":45,"value":1749},{"type":40,"tag":280,"props":1933,"children":1934},{"style":1752},[1935],{"type":45,"value":1383},{"type":40,"tag":280,"props":1937,"children":1938},{"style":314},[1939],{"type":45,"value":332},{"type":40,"tag":280,"props":1941,"children":1942},{"style":314},[1943],{"type":45,"value":1763},{"type":40,"tag":280,"props":1945,"children":1946},{"style":314},[1947],{"type":45,"value":1948}," true\n",{"type":40,"tag":280,"props":1950,"children":1951},{"class":282,"line":410},[1952],{"type":40,"tag":280,"props":1953,"children":1954},{"style":314},[1955],{"type":45,"value":1956},"}\n",{"type":40,"tag":257,"props":1958,"children":1960},{"id":1959},"image-video",[1961],{"type":45,"value":1962},"Image → video",{"type":40,"tag":269,"props":1964,"children":1966},{"className":1728,"code":1965,"language":1730,"meta":274,"style":274},"{\n  \"model\": \"\u003Cimage-to-video model>\",\n  \"prompt\": \"Camera slowly zooms out, revealing the cityscape.\",\n  \"image_url\": \"https:\u002F\u002Fexample.com\u002Fcityscape.jpg\",\n  \"duration\": \"5s\",\n  \"aspect_ratio\": \"16:9\"\n}\n",[1967],{"type":40,"tag":96,"props":1968,"children":1969},{"__ignoreMap":274},[1970,1977,2013,2049,2085,2121,2153],{"type":40,"tag":280,"props":1971,"children":1972},{"class":282,"line":283},[1973],{"type":40,"tag":280,"props":1974,"children":1975},{"style":314},[1976],{"type":45,"value":380},{"type":40,"tag":280,"props":1978,"children":1979},{"class":282,"line":305},[1980,1984,1988,1992,1996,2000,2005,2009],{"type":40,"tag":280,"props":1981,"children":1982},{"style":314},[1983],{"type":45,"value":1749},{"type":40,"tag":280,"props":1985,"children":1986},{"style":1752},[1987],{"type":45,"value":468},{"type":40,"tag":280,"props":1989,"children":1990},{"style":314},[1991],{"type":45,"value":332},{"type":40,"tag":280,"props":1993,"children":1994},{"style":314},[1995],{"type":45,"value":1763},{"type":40,"tag":280,"props":1997,"children":1998},{"style":314},[1999],{"type":45,"value":317},{"type":40,"tag":280,"props":2001,"children":2002},{"style":293},[2003],{"type":45,"value":2004},"\u003Cimage-to-video model>",{"type":40,"tag":280,"props":2006,"children":2007},{"style":314},[2008],{"type":45,"value":332},{"type":40,"tag":280,"props":2010,"children":2011},{"style":314},[2012],{"type":45,"value":1781},{"type":40,"tag":280,"props":2014,"children":2015},{"class":282,"line":339},[2016,2020,2024,2028,2032,2036,2041,2045],{"type":40,"tag":280,"props":2017,"children":2018},{"style":314},[2019],{"type":45,"value":1749},{"type":40,"tag":280,"props":2021,"children":2022},{"style":1752},[2023],{"type":45,"value":1081},{"type":40,"tag":280,"props":2025,"children":2026},{"style":314},[2027],{"type":45,"value":332},{"type":40,"tag":280,"props":2029,"children":2030},{"style":314},[2031],{"type":45,"value":1763},{"type":40,"tag":280,"props":2033,"children":2034},{"style":314},[2035],{"type":45,"value":317},{"type":40,"tag":280,"props":2037,"children":2038},{"style":293},[2039],{"type":45,"value":2040},"Camera slowly zooms out, revealing the cityscape.",{"type":40,"tag":280,"props":2042,"children":2043},{"style":314},[2044],{"type":45,"value":332},{"type":40,"tag":280,"props":2046,"children":2047},{"style":314},[2048],{"type":45,"value":1781},{"type":40,"tag":280,"props":2050,"children":2051},{"class":282,"line":364},[2052,2056,2060,2064,2068,2072,2077,2081],{"type":40,"tag":280,"props":2053,"children":2054},{"style":314},[2055],{"type":45,"value":1749},{"type":40,"tag":280,"props":2057,"children":2058},{"style":1752},[2059],{"type":45,"value":1413},{"type":40,"tag":280,"props":2061,"children":2062},{"style":314},[2063],{"type":45,"value":332},{"type":40,"tag":280,"props":2065,"children":2066},{"style":314},[2067],{"type":45,"value":1763},{"type":40,"tag":280,"props":2069,"children":2070},{"style":314},[2071],{"type":45,"value":317},{"type":40,"tag":280,"props":2073,"children":2074},{"style":293},[2075],{"type":45,"value":2076},"https:\u002F\u002Fexample.com\u002Fcityscape.jpg",{"type":40,"tag":280,"props":2078,"children":2079},{"style":314},[2080],{"type":45,"value":332},{"type":40,"tag":280,"props":2082,"children":2083},{"style":314},[2084],{"type":45,"value":1781},{"type":40,"tag":280,"props":2086,"children":2087},{"class":282,"line":383},[2088,2092,2096,2100,2104,2108,2113,2117],{"type":40,"tag":280,"props":2089,"children":2090},{"style":314},[2091],{"type":45,"value":1749},{"type":40,"tag":280,"props":2093,"children":2094},{"style":1752},[2095],{"type":45,"value":475},{"type":40,"tag":280,"props":2097,"children":2098},{"style":314},[2099],{"type":45,"value":332},{"type":40,"tag":280,"props":2101,"children":2102},{"style":314},[2103],{"type":45,"value":1763},{"type":40,"tag":280,"props":2105,"children":2106},{"style":314},[2107],{"type":45,"value":317},{"type":40,"tag":280,"props":2109,"children":2110},{"style":293},[2111],{"type":45,"value":2112},"5s",{"type":40,"tag":280,"props":2114,"children":2115},{"style":314},[2116],{"type":45,"value":332},{"type":40,"tag":280,"props":2118,"children":2119},{"style":314},[2120],{"type":45,"value":1781},{"type":40,"tag":280,"props":2122,"children":2123},{"class":282,"line":392},[2124,2128,2132,2136,2140,2144,2148],{"type":40,"tag":280,"props":2125,"children":2126},{"style":314},[2127],{"type":45,"value":1749},{"type":40,"tag":280,"props":2129,"children":2130},{"style":1752},[2131],{"type":45,"value":1207},{"type":40,"tag":280,"props":2133,"children":2134},{"style":314},[2135],{"type":45,"value":332},{"type":40,"tag":280,"props":2137,"children":2138},{"style":314},[2139],{"type":45,"value":1763},{"type":40,"tag":280,"props":2141,"children":2142},{"style":314},[2143],{"type":45,"value":317},{"type":40,"tag":280,"props":2145,"children":2146},{"style":293},[2147],{"type":45,"value":1258},{"type":40,"tag":280,"props":2149,"children":2150},{"style":314},[2151],{"type":45,"value":2152},"\"\n",{"type":40,"tag":280,"props":2154,"children":2155},{"class":282,"line":401},[2156],{"type":40,"tag":280,"props":2157,"children":2158},{"style":314},[2159],{"type":45,"value":1956},{"type":40,"tag":257,"props":2161,"children":2163},{"id":2162},"video-upscale",[2164],{"type":45,"value":2165},"Video upscale",{"type":40,"tag":269,"props":2167,"children":2169},{"className":1728,"code":2168,"language":1730,"meta":274,"style":274},"{\n  \"model\": \"\u003Cupscale model>\",\n  \"video_url\": \"data:video\u002Fmp4;base64,...\",\n  \"upscale_factor\": 2,\n  \"duration\": \"Auto\"\n}\n",[2170],{"type":40,"tag":96,"props":2171,"children":2172},{"__ignoreMap":274},[2173,2180,2216,2252,2281,2312],{"type":40,"tag":280,"props":2174,"children":2175},{"class":282,"line":283},[2176],{"type":40,"tag":280,"props":2177,"children":2178},{"style":314},[2179],{"type":45,"value":380},{"type":40,"tag":280,"props":2181,"children":2182},{"class":282,"line":305},[2183,2187,2191,2195,2199,2203,2208,2212],{"type":40,"tag":280,"props":2184,"children":2185},{"style":314},[2186],{"type":45,"value":1749},{"type":40,"tag":280,"props":2188,"children":2189},{"style":1752},[2190],{"type":45,"value":468},{"type":40,"tag":280,"props":2192,"children":2193},{"style":314},[2194],{"type":45,"value":332},{"type":40,"tag":280,"props":2196,"children":2197},{"style":314},[2198],{"type":45,"value":1763},{"type":40,"tag":280,"props":2200,"children":2201},{"style":314},[2202],{"type":45,"value":317},{"type":40,"tag":280,"props":2204,"children":2205},{"style":293},[2206],{"type":45,"value":2207},"\u003Cupscale model>",{"type":40,"tag":280,"props":2209,"children":2210},{"style":314},[2211],{"type":45,"value":332},{"type":40,"tag":280,"props":2213,"children":2214},{"style":314},[2215],{"type":45,"value":1781},{"type":40,"tag":280,"props":2217,"children":2218},{"class":282,"line":339},[2219,2223,2227,2231,2235,2239,2244,2248],{"type":40,"tag":280,"props":2220,"children":2221},{"style":314},[2222],{"type":45,"value":1749},{"type":40,"tag":280,"props":2224,"children":2225},{"style":1752},[2226],{"type":45,"value":499},{"type":40,"tag":280,"props":2228,"children":2229},{"style":314},[2230],{"type":45,"value":332},{"type":40,"tag":280,"props":2232,"children":2233},{"style":314},[2234],{"type":45,"value":1763},{"type":40,"tag":280,"props":2236,"children":2237},{"style":314},[2238],{"type":45,"value":317},{"type":40,"tag":280,"props":2240,"children":2241},{"style":293},[2242],{"type":45,"value":2243},"data:video\u002Fmp4;base64,...",{"type":40,"tag":280,"props":2245,"children":2246},{"style":314},[2247],{"type":45,"value":332},{"type":40,"tag":280,"props":2249,"children":2250},{"style":314},[2251],{"type":45,"value":1781},{"type":40,"tag":280,"props":2253,"children":2254},{"class":282,"line":364},[2255,2259,2263,2267,2271,2277],{"type":40,"tag":280,"props":2256,"children":2257},{"style":314},[2258],{"type":45,"value":1749},{"type":40,"tag":280,"props":2260,"children":2261},{"style":1752},[2262],{"type":45,"value":491},{"type":40,"tag":280,"props":2264,"children":2265},{"style":314},[2266],{"type":45,"value":332},{"type":40,"tag":280,"props":2268,"children":2269},{"style":314},[2270],{"type":45,"value":1763},{"type":40,"tag":280,"props":2272,"children":2274},{"style":2273},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2275],{"type":45,"value":2276}," 2",{"type":40,"tag":280,"props":2278,"children":2279},{"style":314},[2280],{"type":45,"value":1781},{"type":40,"tag":280,"props":2282,"children":2283},{"class":282,"line":383},[2284,2288,2292,2296,2300,2304,2308],{"type":40,"tag":280,"props":2285,"children":2286},{"style":314},[2287],{"type":45,"value":1749},{"type":40,"tag":280,"props":2289,"children":2290},{"style":1752},[2291],{"type":45,"value":475},{"type":40,"tag":280,"props":2293,"children":2294},{"style":314},[2295],{"type":45,"value":332},{"type":40,"tag":280,"props":2297,"children":2298},{"style":314},[2299],{"type":45,"value":1763},{"type":40,"tag":280,"props":2301,"children":2302},{"style":314},[2303],{"type":45,"value":317},{"type":40,"tag":280,"props":2305,"children":2306},{"style":293},[2307],{"type":45,"value":1183},{"type":40,"tag":280,"props":2309,"children":2310},{"style":314},[2311],{"type":45,"value":2152},{"type":40,"tag":280,"props":2313,"children":2314},{"class":282,"line":392},[2315],{"type":40,"tag":280,"props":2316,"children":2317},{"style":314},[2318],{"type":45,"value":1956},{"type":40,"tag":257,"props":2320,"children":2322},{"id":2321},"multi-element-consistency-kling-o3-r2v-style",[2323],{"type":45,"value":2324},"Multi-element consistency (Kling O3 R2V-style)",{"type":40,"tag":269,"props":2326,"children":2328},{"className":1728,"code":2327,"language":1730,"meta":274,"style":274},"{\n  \"model\": \"\u003Cadvanced-model>\",\n  \"prompt\": \"@Element1 walks toward @Element2 against @Image1.\",\n  \"elements\": [\n    { \"frontal_image_url\": \"\u003Cchar1.png>\", \"reference_image_urls\": [\"\u003Calt1.png>\"] },\n    { \"frontal_image_url\": \"\u003Cchar2.png>\" }\n  ],\n  \"scene_image_urls\": [\"\u003Cstreet-scene.jpg>\"]\n}\n",[2329],{"type":40,"tag":96,"props":2330,"children":2331},{"__ignoreMap":274},[2332,2339,2375,2411,2436,2522,2563,2571,2613],{"type":40,"tag":280,"props":2333,"children":2334},{"class":282,"line":283},[2335],{"type":40,"tag":280,"props":2336,"children":2337},{"style":314},[2338],{"type":45,"value":380},{"type":40,"tag":280,"props":2340,"children":2341},{"class":282,"line":305},[2342,2346,2350,2354,2358,2362,2367,2371],{"type":40,"tag":280,"props":2343,"children":2344},{"style":314},[2345],{"type":45,"value":1749},{"type":40,"tag":280,"props":2347,"children":2348},{"style":1752},[2349],{"type":45,"value":468},{"type":40,"tag":280,"props":2351,"children":2352},{"style":314},[2353],{"type":45,"value":332},{"type":40,"tag":280,"props":2355,"children":2356},{"style":314},[2357],{"type":45,"value":1763},{"type":40,"tag":280,"props":2359,"children":2360},{"style":314},[2361],{"type":45,"value":317},{"type":40,"tag":280,"props":2363,"children":2364},{"style":293},[2365],{"type":45,"value":2366},"\u003Cadvanced-model>",{"type":40,"tag":280,"props":2368,"children":2369},{"style":314},[2370],{"type":45,"value":332},{"type":40,"tag":280,"props":2372,"children":2373},{"style":314},[2374],{"type":45,"value":1781},{"type":40,"tag":280,"props":2376,"children":2377},{"class":282,"line":339},[2378,2382,2386,2390,2394,2398,2403,2407],{"type":40,"tag":280,"props":2379,"children":2380},{"style":314},[2381],{"type":45,"value":1749},{"type":40,"tag":280,"props":2383,"children":2384},{"style":1752},[2385],{"type":45,"value":1081},{"type":40,"tag":280,"props":2387,"children":2388},{"style":314},[2389],{"type":45,"value":332},{"type":40,"tag":280,"props":2391,"children":2392},{"style":314},[2393],{"type":45,"value":1763},{"type":40,"tag":280,"props":2395,"children":2396},{"style":314},[2397],{"type":45,"value":317},{"type":40,"tag":280,"props":2399,"children":2400},{"style":293},[2401],{"type":45,"value":2402},"@Element1 walks toward @Element2 against @Image1.",{"type":40,"tag":280,"props":2404,"children":2405},{"style":314},[2406],{"type":45,"value":332},{"type":40,"tag":280,"props":2408,"children":2409},{"style":314},[2410],{"type":45,"value":1781},{"type":40,"tag":280,"props":2412,"children":2413},{"class":282,"line":364},[2414,2418,2423,2427,2431],{"type":40,"tag":280,"props":2415,"children":2416},{"style":314},[2417],{"type":45,"value":1749},{"type":40,"tag":280,"props":2419,"children":2420},{"style":1752},[2421],{"type":45,"value":2422},"elements",{"type":40,"tag":280,"props":2424,"children":2425},{"style":314},[2426],{"type":45,"value":332},{"type":40,"tag":280,"props":2428,"children":2429},{"style":314},[2430],{"type":45,"value":1763},{"type":40,"tag":280,"props":2432,"children":2433},{"style":314},[2434],{"type":45,"value":2435}," [\n",{"type":40,"tag":280,"props":2437,"children":2438},{"class":282,"line":383},[2439,2444,2448,2452,2456,2460,2464,2469,2473,2478,2482,2486,2490,2494,2499,2503,2508,2512,2517],{"type":40,"tag":280,"props":2440,"children":2441},{"style":314},[2442],{"type":45,"value":2443},"    {",{"type":40,"tag":280,"props":2445,"children":2446},{"style":314},[2447],{"type":45,"value":317},{"type":40,"tag":280,"props":2449,"children":2450},{"style":287},[2451],{"type":45,"value":1647},{"type":40,"tag":280,"props":2453,"children":2454},{"style":314},[2455],{"type":45,"value":332},{"type":40,"tag":280,"props":2457,"children":2458},{"style":314},[2459],{"type":45,"value":1763},{"type":40,"tag":280,"props":2461,"children":2462},{"style":314},[2463],{"type":45,"value":317},{"type":40,"tag":280,"props":2465,"children":2466},{"style":293},[2467],{"type":45,"value":2468},"\u003Cchar1.png>",{"type":40,"tag":280,"props":2470,"children":2471},{"style":314},[2472],{"type":45,"value":332},{"type":40,"tag":280,"props":2474,"children":2475},{"style":314},[2476],{"type":45,"value":2477},",",{"type":40,"tag":280,"props":2479,"children":2480},{"style":314},[2481],{"type":45,"value":317},{"type":40,"tag":280,"props":2483,"children":2484},{"style":287},[2485],{"type":45,"value":1655},{"type":40,"tag":280,"props":2487,"children":2488},{"style":314},[2489],{"type":45,"value":332},{"type":40,"tag":280,"props":2491,"children":2492},{"style":314},[2493],{"type":45,"value":1763},{"type":40,"tag":280,"props":2495,"children":2496},{"style":314},[2497],{"type":45,"value":2498}," [",{"type":40,"tag":280,"props":2500,"children":2501},{"style":314},[2502],{"type":45,"value":332},{"type":40,"tag":280,"props":2504,"children":2505},{"style":293},[2506],{"type":45,"value":2507},"\u003Calt1.png>",{"type":40,"tag":280,"props":2509,"children":2510},{"style":314},[2511],{"type":45,"value":332},{"type":40,"tag":280,"props":2513,"children":2514},{"style":314},[2515],{"type":45,"value":2516},"]",{"type":40,"tag":280,"props":2518,"children":2519},{"style":314},[2520],{"type":45,"value":2521}," },\n",{"type":40,"tag":280,"props":2523,"children":2524},{"class":282,"line":392},[2525,2529,2533,2537,2541,2545,2549,2554,2558],{"type":40,"tag":280,"props":2526,"children":2527},{"style":314},[2528],{"type":45,"value":2443},{"type":40,"tag":280,"props":2530,"children":2531},{"style":314},[2532],{"type":45,"value":317},{"type":40,"tag":280,"props":2534,"children":2535},{"style":287},[2536],{"type":45,"value":1647},{"type":40,"tag":280,"props":2538,"children":2539},{"style":314},[2540],{"type":45,"value":332},{"type":40,"tag":280,"props":2542,"children":2543},{"style":314},[2544],{"type":45,"value":1763},{"type":40,"tag":280,"props":2546,"children":2547},{"style":314},[2548],{"type":45,"value":317},{"type":40,"tag":280,"props":2550,"children":2551},{"style":293},[2552],{"type":45,"value":2553},"\u003Cchar2.png>",{"type":40,"tag":280,"props":2555,"children":2556},{"style":314},[2557],{"type":45,"value":332},{"type":40,"tag":280,"props":2559,"children":2560},{"style":314},[2561],{"type":45,"value":2562}," }\n",{"type":40,"tag":280,"props":2564,"children":2565},{"class":282,"line":401},[2566],{"type":40,"tag":280,"props":2567,"children":2568},{"style":314},[2569],{"type":45,"value":2570},"  ],\n",{"type":40,"tag":280,"props":2572,"children":2573},{"class":282,"line":410},[2574,2578,2583,2587,2591,2595,2599,2604,2608],{"type":40,"tag":280,"props":2575,"children":2576},{"style":314},[2577],{"type":45,"value":1749},{"type":40,"tag":280,"props":2579,"children":2580},{"style":1752},[2581],{"type":45,"value":2582},"scene_image_urls",{"type":40,"tag":280,"props":2584,"children":2585},{"style":314},[2586],{"type":45,"value":332},{"type":40,"tag":280,"props":2588,"children":2589},{"style":314},[2590],{"type":45,"value":1763},{"type":40,"tag":280,"props":2592,"children":2593},{"style":314},[2594],{"type":45,"value":2498},{"type":40,"tag":280,"props":2596,"children":2597},{"style":314},[2598],{"type":45,"value":332},{"type":40,"tag":280,"props":2600,"children":2601},{"style":293},[2602],{"type":45,"value":2603},"\u003Cstreet-scene.jpg>",{"type":40,"tag":280,"props":2605,"children":2606},{"style":314},[2607],{"type":45,"value":332},{"type":40,"tag":280,"props":2609,"children":2610},{"style":314},[2611],{"type":45,"value":2612},"]\n",{"type":40,"tag":280,"props":2614,"children":2615},{"class":282,"line":419},[2616],{"type":40,"tag":280,"props":2617,"children":2618},{"style":314},[2619],{"type":45,"value":1956},{"type":40,"tag":192,"props":2621,"children":2623},{"id":2622},"videotranscriptions-sync",[2624,2630],{"type":40,"tag":96,"props":2625,"children":2627},{"className":2626},[],[2628],{"type":45,"value":2629},"\u002Fvideo\u002Ftranscriptions",{"type":45,"value":2631}," (sync)",{"type":40,"tag":48,"props":2633,"children":2634},{},[2635],{"type":45,"value":2636},"Transcribe a YouTube video URL directly — no queue.",{"type":40,"tag":269,"props":2638,"children":2640},{"className":271,"code":2639,"language":273,"meta":274,"style":274},"curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Ftranscriptions \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"url\":\"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\",\"response_format\":\"json\"}'\n",[2641],{"type":40,"tag":96,"props":2642,"children":2643},{"__ignoreMap":274},[2644,2660,2687,2710],{"type":40,"tag":280,"props":2645,"children":2646},{"class":282,"line":283},[2647,2651,2656],{"type":40,"tag":280,"props":2648,"children":2649},{"style":287},[2650],{"type":45,"value":290},{"type":40,"tag":280,"props":2652,"children":2653},{"style":293},[2654],{"type":45,"value":2655}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fvideo\u002Ftranscriptions",{"type":40,"tag":280,"props":2657,"children":2658},{"style":299},[2659],{"type":45,"value":302},{"type":40,"tag":280,"props":2661,"children":2662},{"class":282,"line":305},[2663,2667,2671,2675,2679,2683],{"type":40,"tag":280,"props":2664,"children":2665},{"style":293},[2666],{"type":45,"value":311},{"type":40,"tag":280,"props":2668,"children":2669},{"style":314},[2670],{"type":45,"value":317},{"type":40,"tag":280,"props":2672,"children":2673},{"style":293},[2674],{"type":45,"value":322},{"type":40,"tag":280,"props":2676,"children":2677},{"style":299},[2678],{"type":45,"value":327},{"type":40,"tag":280,"props":2680,"children":2681},{"style":314},[2682],{"type":45,"value":332},{"type":40,"tag":280,"props":2684,"children":2685},{"style":299},[2686],{"type":45,"value":302},{"type":40,"tag":280,"props":2688,"children":2689},{"class":282,"line":339},[2690,2694,2698,2702,2706],{"type":40,"tag":280,"props":2691,"children":2692},{"style":293},[2693],{"type":45,"value":311},{"type":40,"tag":280,"props":2695,"children":2696},{"style":314},[2697],{"type":45,"value":317},{"type":40,"tag":280,"props":2699,"children":2700},{"style":293},[2701],{"type":45,"value":353},{"type":40,"tag":280,"props":2703,"children":2704},{"style":314},[2705],{"type":45,"value":332},{"type":40,"tag":280,"props":2707,"children":2708},{"style":299},[2709],{"type":45,"value":302},{"type":40,"tag":280,"props":2711,"children":2712},{"class":282,"line":364},[2713,2717,2721,2726],{"type":40,"tag":280,"props":2714,"children":2715},{"style":293},[2716],{"type":45,"value":370},{"type":40,"tag":280,"props":2718,"children":2719},{"style":314},[2720],{"type":45,"value":375},{"type":40,"tag":280,"props":2722,"children":2723},{"style":293},[2724],{"type":45,"value":2725},"{\"url\":\"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\",\"response_format\":\"json\"}",{"type":40,"tag":280,"props":2727,"children":2728},{"style":314},[2729],{"type":45,"value":439},{"type":40,"tag":48,"props":2731,"children":2732},{},[2733,2734,2740,2742,2748,2750,2756],{"type":45,"value":444},{"type":40,"tag":96,"props":2735,"children":2737},{"className":2736},[],[2738],{"type":45,"value":2739},"{\"transcript\":\"...\",\"lang\":\"en\"}",{"type":45,"value":2741}," (JSON) or plain ",{"type":40,"tag":96,"props":2743,"children":2745},{"className":2744},[],[2746],{"type":45,"value":2747},"text\u002Fplain",{"type":45,"value":2749}," body when ",{"type":40,"tag":96,"props":2751,"children":2753},{"className":2752},[],[2754],{"type":45,"value":2755},"response_format: text",{"type":45,"value":156},{"type":40,"tag":48,"props":2758,"children":2759},{},[2760,2762,2773],{"type":45,"value":2761},"For arbitrary audio files, use ",{"type":40,"tag":2763,"props":2764,"children":2766},"a",{"href":2765},"..\u002Fvenice-audio-transcription\u002FSKILL.md",[2767],{"type":40,"tag":96,"props":2768,"children":2770},{"className":2769},[],[2771],{"type":45,"value":2772},"venice-audio-transcription",{"type":45,"value":2774}," instead.",{"type":40,"tag":192,"props":2776,"children":2778},{"id":2777},"full-polling-loop",[2779],{"type":45,"value":2780},"Full polling loop",{"type":40,"tag":269,"props":2782,"children":2786},{"className":2783,"code":2784,"language":2785,"meta":274,"style":274},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","async function waitForVideo(model: string, queueId: string, downloadUrl?: string) {\n  while (true) {\n    const res = await fetch(`${base}\u002Fvideo\u002Fretrieve`, {\n      method: 'POST', headers,\n      body: JSON.stringify({ model, queue_id: queueId }),\n    })\n    const ct = res.headers.get('content-type') ?? ''\n    if (ct.startsWith('video\u002F')) {\n      return Buffer.from(await res.arrayBuffer())\n    }\n    const body = await res.json()\n    if (body.status === 'COMPLETED' && downloadUrl) {\n      const v = await fetch(downloadUrl)\n      return Buffer.from(await v.arrayBuffer())\n    }\n    if (body.status !== 'PROCESSING') throw new Error(`unexpected ${body.status}`)\n    await new Promise(r => setTimeout(r, 5000))\n  }\n}\n","ts",[2787],{"type":40,"tag":96,"props":2788,"children":2789},{"__ignoreMap":274},[2790,2873,2902,2966,3004,3074,3087,3156,3208,3257,3265,3302,3362,3401,3445,3452,3552,3611,3620],{"type":40,"tag":280,"props":2791,"children":2792},{"class":282,"line":283},[2793,2798,2803,2809,2814,2819,2823,2828,2832,2837,2841,2845,2849,2854,2859,2863,2868],{"type":40,"tag":280,"props":2794,"children":2795},{"style":1752},[2796],{"type":45,"value":2797},"async",{"type":40,"tag":280,"props":2799,"children":2800},{"style":1752},[2801],{"type":45,"value":2802}," function",{"type":40,"tag":280,"props":2804,"children":2806},{"style":2805},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[2807],{"type":45,"value":2808}," waitForVideo",{"type":40,"tag":280,"props":2810,"children":2811},{"style":314},[2812],{"type":45,"value":2813},"(",{"type":40,"tag":280,"props":2815,"children":2817},{"style":2816},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2818],{"type":45,"value":468},{"type":40,"tag":280,"props":2820,"children":2821},{"style":314},[2822],{"type":45,"value":1763},{"type":40,"tag":280,"props":2824,"children":2825},{"style":287},[2826],{"type":45,"value":2827}," string",{"type":40,"tag":280,"props":2829,"children":2830},{"style":314},[2831],{"type":45,"value":2477},{"type":40,"tag":280,"props":2833,"children":2834},{"style":2816},[2835],{"type":45,"value":2836}," queueId",{"type":40,"tag":280,"props":2838,"children":2839},{"style":314},[2840],{"type":45,"value":1763},{"type":40,"tag":280,"props":2842,"children":2843},{"style":287},[2844],{"type":45,"value":2827},{"type":40,"tag":280,"props":2846,"children":2847},{"style":314},[2848],{"type":45,"value":2477},{"type":40,"tag":280,"props":2850,"children":2851},{"style":2816},[2852],{"type":45,"value":2853}," downloadUrl",{"type":40,"tag":280,"props":2855,"children":2856},{"style":314},[2857],{"type":45,"value":2858},"?:",{"type":40,"tag":280,"props":2860,"children":2861},{"style":287},[2862],{"type":45,"value":2827},{"type":40,"tag":280,"props":2864,"children":2865},{"style":314},[2866],{"type":45,"value":2867},")",{"type":40,"tag":280,"props":2869,"children":2870},{"style":314},[2871],{"type":45,"value":2872}," {\n",{"type":40,"tag":280,"props":2874,"children":2875},{"class":282,"line":305},[2876,2882,2888,2893,2898],{"type":40,"tag":280,"props":2877,"children":2879},{"style":2878},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[2880],{"type":45,"value":2881},"  while",{"type":40,"tag":280,"props":2883,"children":2885},{"style":2884},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[2886],{"type":45,"value":2887}," (",{"type":40,"tag":280,"props":2889,"children":2891},{"style":2890},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[2892],{"type":45,"value":1399},{"type":40,"tag":280,"props":2894,"children":2895},{"style":2884},[2896],{"type":45,"value":2897},") ",{"type":40,"tag":280,"props":2899,"children":2900},{"style":314},[2901],{"type":45,"value":380},{"type":40,"tag":280,"props":2903,"children":2904},{"class":282,"line":339},[2905,2910,2915,2920,2925,2930,2934,2939,2944,2949,2953,2958,2962],{"type":40,"tag":280,"props":2906,"children":2907},{"style":1752},[2908],{"type":45,"value":2909},"    const",{"type":40,"tag":280,"props":2911,"children":2912},{"style":299},[2913],{"type":45,"value":2914}," res",{"type":40,"tag":280,"props":2916,"children":2917},{"style":314},[2918],{"type":45,"value":2919}," =",{"type":40,"tag":280,"props":2921,"children":2922},{"style":2878},[2923],{"type":45,"value":2924}," await",{"type":40,"tag":280,"props":2926,"children":2927},{"style":2805},[2928],{"type":45,"value":2929}," fetch",{"type":40,"tag":280,"props":2931,"children":2932},{"style":2884},[2933],{"type":45,"value":2813},{"type":40,"tag":280,"props":2935,"children":2936},{"style":314},[2937],{"type":45,"value":2938},"`${",{"type":40,"tag":280,"props":2940,"children":2941},{"style":299},[2942],{"type":45,"value":2943},"base",{"type":40,"tag":280,"props":2945,"children":2946},{"style":314},[2947],{"type":45,"value":2948},"}",{"type":40,"tag":280,"props":2950,"children":2951},{"style":293},[2952],{"type":45,"value":234},{"type":40,"tag":280,"props":2954,"children":2955},{"style":314},[2956],{"type":45,"value":2957},"`",{"type":40,"tag":280,"props":2959,"children":2960},{"style":314},[2961],{"type":45,"value":2477},{"type":40,"tag":280,"props":2963,"children":2964},{"style":314},[2965],{"type":45,"value":2872},{"type":40,"tag":280,"props":2967,"children":2968},{"class":282,"line":364},[2969,2974,2978,2982,2987,2991,2995,3000],{"type":40,"tag":280,"props":2970,"children":2971},{"style":2884},[2972],{"type":45,"value":2973},"      method",{"type":40,"tag":280,"props":2975,"children":2976},{"style":314},[2977],{"type":45,"value":1763},{"type":40,"tag":280,"props":2979,"children":2980},{"style":314},[2981],{"type":45,"value":375},{"type":40,"tag":280,"props":2983,"children":2984},{"style":293},[2985],{"type":45,"value":2986},"POST",{"type":40,"tag":280,"props":2988,"children":2989},{"style":314},[2990],{"type":45,"value":817},{"type":40,"tag":280,"props":2992,"children":2993},{"style":314},[2994],{"type":45,"value":2477},{"type":40,"tag":280,"props":2996,"children":2997},{"style":299},[2998],{"type":45,"value":2999}," headers",{"type":40,"tag":280,"props":3001,"children":3002},{"style":314},[3003],{"type":45,"value":1781},{"type":40,"tag":280,"props":3005,"children":3006},{"class":282,"line":383},[3007,3012,3016,3021,3025,3030,3034,3039,3044,3048,3053,3057,3061,3066,3070],{"type":40,"tag":280,"props":3008,"children":3009},{"style":2884},[3010],{"type":45,"value":3011},"      body",{"type":40,"tag":280,"props":3013,"children":3014},{"style":314},[3015],{"type":45,"value":1763},{"type":40,"tag":280,"props":3017,"children":3018},{"style":299},[3019],{"type":45,"value":3020}," JSON",{"type":40,"tag":280,"props":3022,"children":3023},{"style":314},[3024],{"type":45,"value":156},{"type":40,"tag":280,"props":3026,"children":3027},{"style":2805},[3028],{"type":45,"value":3029},"stringify",{"type":40,"tag":280,"props":3031,"children":3032},{"style":2884},[3033],{"type":45,"value":2813},{"type":40,"tag":280,"props":3035,"children":3036},{"style":314},[3037],{"type":45,"value":3038},"{",{"type":40,"tag":280,"props":3040,"children":3041},{"style":299},[3042],{"type":45,"value":3043}," model",{"type":40,"tag":280,"props":3045,"children":3046},{"style":314},[3047],{"type":45,"value":2477},{"type":40,"tag":280,"props":3049,"children":3050},{"style":2884},[3051],{"type":45,"value":3052}," queue_id",{"type":40,"tag":280,"props":3054,"children":3055},{"style":314},[3056],{"type":45,"value":1763},{"type":40,"tag":280,"props":3058,"children":3059},{"style":299},[3060],{"type":45,"value":2836},{"type":40,"tag":280,"props":3062,"children":3063},{"style":314},[3064],{"type":45,"value":3065}," }",{"type":40,"tag":280,"props":3067,"children":3068},{"style":2884},[3069],{"type":45,"value":2867},{"type":40,"tag":280,"props":3071,"children":3072},{"style":314},[3073],{"type":45,"value":1781},{"type":40,"tag":280,"props":3075,"children":3076},{"class":282,"line":392},[3077,3082],{"type":40,"tag":280,"props":3078,"children":3079},{"style":314},[3080],{"type":45,"value":3081},"    }",{"type":40,"tag":280,"props":3083,"children":3084},{"style":2884},[3085],{"type":45,"value":3086},")\n",{"type":40,"tag":280,"props":3088,"children":3089},{"class":282,"line":401},[3090,3094,3099,3103,3107,3111,3116,3120,3125,3129,3133,3138,3142,3146,3151],{"type":40,"tag":280,"props":3091,"children":3092},{"style":1752},[3093],{"type":45,"value":2909},{"type":40,"tag":280,"props":3095,"children":3096},{"style":299},[3097],{"type":45,"value":3098}," ct",{"type":40,"tag":280,"props":3100,"children":3101},{"style":314},[3102],{"type":45,"value":2919},{"type":40,"tag":280,"props":3104,"children":3105},{"style":299},[3106],{"type":45,"value":2914},{"type":40,"tag":280,"props":3108,"children":3109},{"style":314},[3110],{"type":45,"value":156},{"type":40,"tag":280,"props":3112,"children":3113},{"style":299},[3114],{"type":45,"value":3115},"headers",{"type":40,"tag":280,"props":3117,"children":3118},{"style":314},[3119],{"type":45,"value":156},{"type":40,"tag":280,"props":3121,"children":3122},{"style":2805},[3123],{"type":45,"value":3124},"get",{"type":40,"tag":280,"props":3126,"children":3127},{"style":2884},[3128],{"type":45,"value":2813},{"type":40,"tag":280,"props":3130,"children":3131},{"style":314},[3132],{"type":45,"value":817},{"type":40,"tag":280,"props":3134,"children":3135},{"style":293},[3136],{"type":45,"value":3137},"content-type",{"type":40,"tag":280,"props":3139,"children":3140},{"style":314},[3141],{"type":45,"value":817},{"type":40,"tag":280,"props":3143,"children":3144},{"style":2884},[3145],{"type":45,"value":2897},{"type":40,"tag":280,"props":3147,"children":3148},{"style":314},[3149],{"type":45,"value":3150},"??",{"type":40,"tag":280,"props":3152,"children":3153},{"style":314},[3154],{"type":45,"value":3155}," ''\n",{"type":40,"tag":280,"props":3157,"children":3158},{"class":282,"line":410},[3159,3164,3168,3173,3177,3182,3186,3190,3195,3199,3204],{"type":40,"tag":280,"props":3160,"children":3161},{"style":2878},[3162],{"type":45,"value":3163},"    if",{"type":40,"tag":280,"props":3165,"children":3166},{"style":2884},[3167],{"type":45,"value":2887},{"type":40,"tag":280,"props":3169,"children":3170},{"style":299},[3171],{"type":45,"value":3172},"ct",{"type":40,"tag":280,"props":3174,"children":3175},{"style":314},[3176],{"type":45,"value":156},{"type":40,"tag":280,"props":3178,"children":3179},{"style":2805},[3180],{"type":45,"value":3181},"startsWith",{"type":40,"tag":280,"props":3183,"children":3184},{"style":2884},[3185],{"type":45,"value":2813},{"type":40,"tag":280,"props":3187,"children":3188},{"style":314},[3189],{"type":45,"value":817},{"type":40,"tag":280,"props":3191,"children":3192},{"style":293},[3193],{"type":45,"value":3194},"video\u002F",{"type":40,"tag":280,"props":3196,"children":3197},{"style":314},[3198],{"type":45,"value":817},{"type":40,"tag":280,"props":3200,"children":3201},{"style":2884},[3202],{"type":45,"value":3203},")) ",{"type":40,"tag":280,"props":3205,"children":3206},{"style":314},[3207],{"type":45,"value":380},{"type":40,"tag":280,"props":3209,"children":3210},{"class":282,"line":419},[3211,3216,3221,3225,3230,3234,3239,3243,3247,3252],{"type":40,"tag":280,"props":3212,"children":3213},{"style":2878},[3214],{"type":45,"value":3215},"      return",{"type":40,"tag":280,"props":3217,"children":3218},{"style":299},[3219],{"type":45,"value":3220}," Buffer",{"type":40,"tag":280,"props":3222,"children":3223},{"style":314},[3224],{"type":45,"value":156},{"type":40,"tag":280,"props":3226,"children":3227},{"style":2805},[3228],{"type":45,"value":3229},"from",{"type":40,"tag":280,"props":3231,"children":3232},{"style":2884},[3233],{"type":45,"value":2813},{"type":40,"tag":280,"props":3235,"children":3236},{"style":2878},[3237],{"type":45,"value":3238},"await",{"type":40,"tag":280,"props":3240,"children":3241},{"style":299},[3242],{"type":45,"value":2914},{"type":40,"tag":280,"props":3244,"children":3245},{"style":314},[3246],{"type":45,"value":156},{"type":40,"tag":280,"props":3248,"children":3249},{"style":2805},[3250],{"type":45,"value":3251},"arrayBuffer",{"type":40,"tag":280,"props":3253,"children":3254},{"style":2884},[3255],{"type":45,"value":3256},"())\n",{"type":40,"tag":280,"props":3258,"children":3259},{"class":282,"line":428},[3260],{"type":40,"tag":280,"props":3261,"children":3262},{"style":314},[3263],{"type":45,"value":3264},"    }\n",{"type":40,"tag":280,"props":3266,"children":3267},{"class":282,"line":663},[3268,3272,3277,3281,3285,3289,3293,3297],{"type":40,"tag":280,"props":3269,"children":3270},{"style":1752},[3271],{"type":45,"value":2909},{"type":40,"tag":280,"props":3273,"children":3274},{"style":299},[3275],{"type":45,"value":3276}," body",{"type":40,"tag":280,"props":3278,"children":3279},{"style":314},[3280],{"type":45,"value":2919},{"type":40,"tag":280,"props":3282,"children":3283},{"style":2878},[3284],{"type":45,"value":2924},{"type":40,"tag":280,"props":3286,"children":3287},{"style":299},[3288],{"type":45,"value":2914},{"type":40,"tag":280,"props":3290,"children":3291},{"style":314},[3292],{"type":45,"value":156},{"type":40,"tag":280,"props":3294,"children":3295},{"style":2805},[3296],{"type":45,"value":1730},{"type":40,"tag":280,"props":3298,"children":3299},{"style":2884},[3300],{"type":45,"value":3301},"()\n",{"type":40,"tag":280,"props":3303,"children":3304},{"class":282,"line":671},[3305,3309,3313,3318,3322,3327,3332,3336,3341,3345,3350,3354,3358],{"type":40,"tag":280,"props":3306,"children":3307},{"style":2878},[3308],{"type":45,"value":3163},{"type":40,"tag":280,"props":3310,"children":3311},{"style":2884},[3312],{"type":45,"value":2887},{"type":40,"tag":280,"props":3314,"children":3315},{"style":299},[3316],{"type":45,"value":3317},"body",{"type":40,"tag":280,"props":3319,"children":3320},{"style":314},[3321],{"type":45,"value":156},{"type":40,"tag":280,"props":3323,"children":3324},{"style":299},[3325],{"type":45,"value":3326},"status",{"type":40,"tag":280,"props":3328,"children":3329},{"style":314},[3330],{"type":45,"value":3331}," ===",{"type":40,"tag":280,"props":3333,"children":3334},{"style":314},[3335],{"type":45,"value":375},{"type":40,"tag":280,"props":3337,"children":3338},{"style":293},[3339],{"type":45,"value":3340},"COMPLETED",{"type":40,"tag":280,"props":3342,"children":3343},{"style":314},[3344],{"type":45,"value":817},{"type":40,"tag":280,"props":3346,"children":3347},{"style":314},[3348],{"type":45,"value":3349}," &&",{"type":40,"tag":280,"props":3351,"children":3352},{"style":299},[3353],{"type":45,"value":2853},{"type":40,"tag":280,"props":3355,"children":3356},{"style":2884},[3357],{"type":45,"value":2897},{"type":40,"tag":280,"props":3359,"children":3360},{"style":314},[3361],{"type":45,"value":380},{"type":40,"tag":280,"props":3363,"children":3365},{"class":282,"line":3364},13,[3366,3371,3376,3380,3384,3388,3392,3397],{"type":40,"tag":280,"props":3367,"children":3368},{"style":1752},[3369],{"type":45,"value":3370},"      const",{"type":40,"tag":280,"props":3372,"children":3373},{"style":299},[3374],{"type":45,"value":3375}," v",{"type":40,"tag":280,"props":3377,"children":3378},{"style":314},[3379],{"type":45,"value":2919},{"type":40,"tag":280,"props":3381,"children":3382},{"style":2878},[3383],{"type":45,"value":2924},{"type":40,"tag":280,"props":3385,"children":3386},{"style":2805},[3387],{"type":45,"value":2929},{"type":40,"tag":280,"props":3389,"children":3390},{"style":2884},[3391],{"type":45,"value":2813},{"type":40,"tag":280,"props":3393,"children":3394},{"style":299},[3395],{"type":45,"value":3396},"downloadUrl",{"type":40,"tag":280,"props":3398,"children":3399},{"style":2884},[3400],{"type":45,"value":3086},{"type":40,"tag":280,"props":3402,"children":3404},{"class":282,"line":3403},14,[3405,3409,3413,3417,3421,3425,3429,3433,3437,3441],{"type":40,"tag":280,"props":3406,"children":3407},{"style":2878},[3408],{"type":45,"value":3215},{"type":40,"tag":280,"props":3410,"children":3411},{"style":299},[3412],{"type":45,"value":3220},{"type":40,"tag":280,"props":3414,"children":3415},{"style":314},[3416],{"type":45,"value":156},{"type":40,"tag":280,"props":3418,"children":3419},{"style":2805},[3420],{"type":45,"value":3229},{"type":40,"tag":280,"props":3422,"children":3423},{"style":2884},[3424],{"type":45,"value":2813},{"type":40,"tag":280,"props":3426,"children":3427},{"style":2878},[3428],{"type":45,"value":3238},{"type":40,"tag":280,"props":3430,"children":3431},{"style":299},[3432],{"type":45,"value":3375},{"type":40,"tag":280,"props":3434,"children":3435},{"style":314},[3436],{"type":45,"value":156},{"type":40,"tag":280,"props":3438,"children":3439},{"style":2805},[3440],{"type":45,"value":3251},{"type":40,"tag":280,"props":3442,"children":3443},{"style":2884},[3444],{"type":45,"value":3256},{"type":40,"tag":280,"props":3446,"children":3447},{"class":282,"line":27},[3448],{"type":40,"tag":280,"props":3449,"children":3450},{"style":314},[3451],{"type":45,"value":3264},{"type":40,"tag":280,"props":3453,"children":3455},{"class":282,"line":3454},16,[3456,3460,3464,3468,3472,3476,3481,3485,3490,3494,3498,3503,3508,3513,3517,3521,3526,3531,3535,3539,3543,3548],{"type":40,"tag":280,"props":3457,"children":3458},{"style":2878},[3459],{"type":45,"value":3163},{"type":40,"tag":280,"props":3461,"children":3462},{"style":2884},[3463],{"type":45,"value":2887},{"type":40,"tag":280,"props":3465,"children":3466},{"style":299},[3467],{"type":45,"value":3317},{"type":40,"tag":280,"props":3469,"children":3470},{"style":314},[3471],{"type":45,"value":156},{"type":40,"tag":280,"props":3473,"children":3474},{"style":299},[3475],{"type":45,"value":3326},{"type":40,"tag":280,"props":3477,"children":3478},{"style":314},[3479],{"type":45,"value":3480}," !==",{"type":40,"tag":280,"props":3482,"children":3483},{"style":314},[3484],{"type":45,"value":375},{"type":40,"tag":280,"props":3486,"children":3487},{"style":293},[3488],{"type":45,"value":3489},"PROCESSING",{"type":40,"tag":280,"props":3491,"children":3492},{"style":314},[3493],{"type":45,"value":817},{"type":40,"tag":280,"props":3495,"children":3496},{"style":2884},[3497],{"type":45,"value":2897},{"type":40,"tag":280,"props":3499,"children":3500},{"style":2878},[3501],{"type":45,"value":3502},"throw",{"type":40,"tag":280,"props":3504,"children":3505},{"style":314},[3506],{"type":45,"value":3507}," new",{"type":40,"tag":280,"props":3509,"children":3510},{"style":2805},[3511],{"type":45,"value":3512}," Error",{"type":40,"tag":280,"props":3514,"children":3515},{"style":2884},[3516],{"type":45,"value":2813},{"type":40,"tag":280,"props":3518,"children":3519},{"style":314},[3520],{"type":45,"value":2957},{"type":40,"tag":280,"props":3522,"children":3523},{"style":293},[3524],{"type":45,"value":3525},"unexpected ",{"type":40,"tag":280,"props":3527,"children":3528},{"style":314},[3529],{"type":45,"value":3530},"${",{"type":40,"tag":280,"props":3532,"children":3533},{"style":299},[3534],{"type":45,"value":3317},{"type":40,"tag":280,"props":3536,"children":3537},{"style":314},[3538],{"type":45,"value":156},{"type":40,"tag":280,"props":3540,"children":3541},{"style":299},[3542],{"type":45,"value":3326},{"type":40,"tag":280,"props":3544,"children":3545},{"style":314},[3546],{"type":45,"value":3547},"}`",{"type":40,"tag":280,"props":3549,"children":3550},{"style":2884},[3551],{"type":45,"value":3086},{"type":40,"tag":280,"props":3553,"children":3555},{"class":282,"line":3554},17,[3556,3561,3565,3570,3574,3579,3584,3589,3593,3597,3601,3606],{"type":40,"tag":280,"props":3557,"children":3558},{"style":2878},[3559],{"type":45,"value":3560},"    await",{"type":40,"tag":280,"props":3562,"children":3563},{"style":314},[3564],{"type":45,"value":3507},{"type":40,"tag":280,"props":3566,"children":3567},{"style":287},[3568],{"type":45,"value":3569}," Promise",{"type":40,"tag":280,"props":3571,"children":3572},{"style":2884},[3573],{"type":45,"value":2813},{"type":40,"tag":280,"props":3575,"children":3576},{"style":2816},[3577],{"type":45,"value":3578},"r",{"type":40,"tag":280,"props":3580,"children":3581},{"style":1752},[3582],{"type":45,"value":3583}," =>",{"type":40,"tag":280,"props":3585,"children":3586},{"style":2805},[3587],{"type":45,"value":3588}," setTimeout",{"type":40,"tag":280,"props":3590,"children":3591},{"style":2884},[3592],{"type":45,"value":2813},{"type":40,"tag":280,"props":3594,"children":3595},{"style":299},[3596],{"type":45,"value":3578},{"type":40,"tag":280,"props":3598,"children":3599},{"style":314},[3600],{"type":45,"value":2477},{"type":40,"tag":280,"props":3602,"children":3603},{"style":2273},[3604],{"type":45,"value":3605}," 5000",{"type":40,"tag":280,"props":3607,"children":3608},{"style":2884},[3609],{"type":45,"value":3610},"))\n",{"type":40,"tag":280,"props":3612,"children":3614},{"class":282,"line":3613},18,[3615],{"type":40,"tag":280,"props":3616,"children":3617},{"style":314},[3618],{"type":45,"value":3619},"  }\n",{"type":40,"tag":280,"props":3621,"children":3623},{"class":282,"line":3622},19,[3624],{"type":40,"tag":280,"props":3625,"children":3626},{"style":314},[3627],{"type":45,"value":1956},{"type":40,"tag":192,"props":3629,"children":3631},{"id":3630},"errors",[3632],{"type":45,"value":3633},"Errors",{"type":40,"tag":62,"props":3635,"children":3636},{},[3637,3653],{"type":40,"tag":66,"props":3638,"children":3639},{},[3640],{"type":40,"tag":70,"props":3641,"children":3642},{},[3643,3648],{"type":40,"tag":74,"props":3644,"children":3645},{},[3646],{"type":45,"value":3647},"Code",{"type":40,"tag":74,"props":3649,"children":3650},{},[3651],{"type":45,"value":3652},"Meaning",{"type":40,"tag":85,"props":3654,"children":3655},{},[3656,3687,3704,3721,3738,3762,3785,3802],{"type":40,"tag":70,"props":3657,"children":3658},{},[3659,3668],{"type":40,"tag":92,"props":3660,"children":3661},{},[3662],{"type":40,"tag":96,"props":3663,"children":3665},{"className":3664},[],[3666],{"type":45,"value":3667},"400",{"type":40,"tag":92,"props":3669,"children":3670},{},[3671,3673,3678,3680,3685],{"type":45,"value":3672},"Bad params (duration\u002Fresolution not supported by model, missing required ",{"type":40,"tag":96,"props":3674,"children":3676},{"className":3675},[],[3677],{"type":45,"value":1413},{"type":45,"value":3679}," for i2v, missing ",{"type":40,"tag":96,"props":3681,"children":3683},{"className":3682},[],[3684],{"type":45,"value":1081},{"type":45,"value":3686},", etc.).",{"type":40,"tag":70,"props":3688,"children":3689},{},[3690,3699],{"type":40,"tag":92,"props":3691,"children":3692},{},[3693],{"type":40,"tag":96,"props":3694,"children":3696},{"className":3695},[],[3697],{"type":45,"value":3698},"401",{"type":40,"tag":92,"props":3700,"children":3701},{},[3702],{"type":45,"value":3703},"Auth \u002F Pro-only.",{"type":40,"tag":70,"props":3705,"children":3706},{},[3707,3716],{"type":40,"tag":92,"props":3708,"children":3709},{},[3710],{"type":40,"tag":96,"props":3711,"children":3713},{"className":3712},[],[3714],{"type":45,"value":3715},"402",{"type":40,"tag":92,"props":3717,"children":3718},{},[3719],{"type":45,"value":3720},"Insufficient balance.",{"type":40,"tag":70,"props":3722,"children":3723},{},[3724,3733],{"type":40,"tag":92,"props":3725,"children":3726},{},[3727],{"type":40,"tag":96,"props":3728,"children":3730},{"className":3729},[],[3731],{"type":45,"value":3732},"403",{"type":40,"tag":92,"props":3734,"children":3735},{},[3736],{"type":45,"value":3737},"Model unavailable in your region.",{"type":40,"tag":70,"props":3739,"children":3740},{},[3741,3750],{"type":40,"tag":92,"props":3742,"children":3743},{},[3744],{"type":40,"tag":96,"props":3745,"children":3747},{"className":3746},[],[3748],{"type":45,"value":3749},"413",{"type":40,"tag":92,"props":3751,"children":3752},{},[3753,3755,3760],{"type":45,"value":3754},"Request payload too large — shrink images \u002F audio. (Returned from ",{"type":40,"tag":96,"props":3756,"children":3758},{"className":3757},[],[3759],{"type":45,"value":528},{"type":45,"value":3761},".)",{"type":40,"tag":70,"props":3763,"children":3764},{},[3765,3774],{"type":40,"tag":92,"props":3766,"children":3767},{},[3768],{"type":40,"tag":96,"props":3769,"children":3771},{"className":3770},[],[3772],{"type":45,"value":3773},"422",{"type":40,"tag":92,"props":3775,"children":3776},{},[3777,3779,3784],{"type":45,"value":3778},"Content policy violation. (Returned from ",{"type":40,"tag":96,"props":3780,"children":3782},{"className":3781},[],[3783],{"type":45,"value":528},{"type":45,"value":3761},{"type":40,"tag":70,"props":3786,"children":3787},{},[3788,3797],{"type":40,"tag":92,"props":3789,"children":3790},{},[3791],{"type":40,"tag":96,"props":3792,"children":3794},{"className":3793},[],[3795],{"type":45,"value":3796},"500",{"type":40,"tag":92,"props":3798,"children":3799},{},[3800],{"type":45,"value":3801},"Inference failed.",{"type":40,"tag":70,"props":3803,"children":3804},{},[3805,3814],{"type":40,"tag":92,"props":3806,"children":3807},{},[3808],{"type":40,"tag":96,"props":3809,"children":3811},{"className":3810},[],[3812],{"type":45,"value":3813},"503",{"type":40,"tag":92,"props":3815,"children":3816},{},[3817,3819,3829],{"type":45,"value":3818},"Model at capacity — retry later. ",{"type":40,"tag":54,"props":3820,"children":3821},{},[3822,3824],{"type":45,"value":3823},"On ",{"type":40,"tag":96,"props":3825,"children":3827},{"className":3826},[],[3828],{"type":45,"value":234},{"type":45,"value":3830},", returned when the queue is backed up.",{"type":40,"tag":48,"props":3832,"children":3833},{},[3834,3839,3841,3846,3848,3853,3855,3860,3862,3867],{"type":40,"tag":96,"props":3835,"children":3837},{"className":3836},[],[3838],{"type":45,"value":528},{"type":45,"value":3840}," does not document ",{"type":40,"tag":96,"props":3842,"children":3844},{"className":3843},[],[3845],{"type":45,"value":3813},{"type":45,"value":3847}," in the spec — upstream capacity issues surface there as ",{"type":40,"tag":96,"props":3849,"children":3851},{"className":3850},[],[3852],{"type":45,"value":3796},{"type":45,"value":3854},". Watch for ",{"type":40,"tag":96,"props":3856,"children":3858},{"className":3857},[],[3859],{"type":45,"value":3813},{"type":45,"value":3861}," specifically on ",{"type":40,"tag":96,"props":3863,"children":3865},{"className":3864},[],[3866],{"type":45,"value":234},{"type":45,"value":156},{"type":40,"tag":192,"props":3869,"children":3871},{"id":3870},"gotchas",[3872],{"type":45,"value":3873},"Gotchas",{"type":40,"tag":199,"props":3875,"children":3876},{},[3877,3905,3943,3953,3978,4021,4041,4058],{"type":40,"tag":203,"props":3878,"children":3879},{},[3880,3896,3898,3903],{"type":40,"tag":54,"props":3881,"children":3882},{},[3883,3888,3890,3895],{"type":40,"tag":96,"props":3884,"children":3886},{"className":3885},[],[3887],{"type":45,"value":475},{"type":45,"value":3889}," is required on ",{"type":40,"tag":96,"props":3891,"children":3893},{"className":3892},[],[3894],{"type":45,"value":528},{"type":45,"value":156},{"type":45,"value":3897}," Even ",{"type":40,"tag":96,"props":3899,"children":3901},{"className":3900},[],[3902],{"type":45,"value":1183},{"type":45,"value":3904}," is a valid explicit value.",{"type":40,"tag":203,"props":3906,"children":3907},{},[3908,3913,3915,3920,3922,3928,3930,3935,3937,3942],{"type":40,"tag":96,"props":3909,"children":3911},{"className":3910},[],[3912],{"type":45,"value":703},{"type":45,"value":3914}," is ",{"type":40,"tag":54,"props":3916,"children":3917},{},[3918],{"type":45,"value":3919},"only sometimes",{"type":45,"value":3921}," returned at queue time. Always handle both paths: binary from ",{"type":40,"tag":96,"props":3923,"children":3925},{"className":3924},[],[3926],{"type":45,"value":3927},"\u002Fretrieve",{"type":45,"value":3929}," OR fetching ",{"type":40,"tag":96,"props":3931,"children":3933},{"className":3932},[],[3934],{"type":45,"value":703},{"type":45,"value":3936}," after status ",{"type":40,"tag":96,"props":3938,"children":3940},{"className":3939},[],[3941],{"type":45,"value":3340},{"type":45,"value":156},{"type":40,"tag":203,"props":3944,"children":3945},{},[3946,3951],{"type":40,"tag":96,"props":3947,"children":3949},{"className":3948},[],[3950],{"type":45,"value":703},{"type":45,"value":3952}," expires in 24 h — download promptly.",{"type":40,"tag":203,"props":3954,"children":3955},{},[3956,3958,3963,3965,3971,3972,3977],{"type":45,"value":3957},"Upscale models use ",{"type":40,"tag":96,"props":3959,"children":3961},{"className":3960},[],[3962],{"type":45,"value":491},{"type":45,"value":3964}," ",{"type":40,"tag":3966,"props":3967,"children":3968},"em",{},[3969],{"type":45,"value":3970},"instead of",{"type":45,"value":3964},{"type":40,"tag":96,"props":3973,"children":3975},{"className":3974},[],[3976],{"type":45,"value":483},{"type":45,"value":156},{"type":40,"tag":203,"props":3979,"children":3980},{},[3981,3986,3988,3993,3994,3999,4001,4006,4008,4013,4015,4020],{"type":40,"tag":96,"props":3982,"children":3984},{"className":3983},[],[3985],{"type":45,"value":1506},{"type":45,"value":3987}," is capped at 9 entries, ",{"type":40,"tag":96,"props":3989,"children":3991},{"className":3990},[],[3992],{"type":45,"value":1528},{"type":45,"value":220},{"type":40,"tag":96,"props":3995,"children":3997},{"className":3996},[],[3998],{"type":45,"value":1566},{"type":45,"value":4000}," at 3 each, ",{"type":40,"tag":96,"props":4002,"children":4004},{"className":4003},[],[4005],{"type":45,"value":1631},{"type":45,"value":4007}," at 4, ",{"type":40,"tag":96,"props":4009,"children":4011},{"className":4010},[],[4012],{"type":45,"value":1689},{"type":45,"value":4014}," at 4. Over-limit is ",{"type":40,"tag":96,"props":4016,"children":4018},{"className":4017},[],[4019],{"type":45,"value":3667},{"type":45,"value":156},{"type":40,"tag":203,"props":4022,"children":4023},{},[4024,4026,4031,4033,4039],{"type":45,"value":4025},"Quote reference-video jobs with ",{"type":40,"tag":96,"props":4027,"children":4029},{"className":4028},[],[4030],{"type":45,"value":514},{"type":45,"value":4032}," (aggregate seconds of all reference videos). It switches the quote to the provider's \"input with video\" rate tier and the ",{"type":40,"tag":96,"props":4034,"children":4036},{"className":4035},[],[4037],{"type":45,"value":4038},"(input + output) × pixels",{"type":45,"value":4040}," token formula. Omit it and you get the no-reference baseline, which will under-quote the job.",{"type":40,"tag":203,"props":4042,"children":4043},{},[4044,4049,4051,4056],{"type":40,"tag":96,"props":4045,"children":4047},{"className":4046},[],[4048],{"type":45,"value":1424},{"type":45,"value":4050}," URLs count toward payload size; large base64 videos may trip ",{"type":40,"tag":96,"props":4052,"children":4054},{"className":4053},[],[4055],{"type":45,"value":3749},{"type":45,"value":4057}," — prefer hosted URLs.",{"type":40,"tag":203,"props":4059,"children":4060},{},[4061,4066,4068,4074],{"type":40,"tag":96,"props":4062,"children":4064},{"className":4063},[],[4065],{"type":45,"value":2629},{"type":45,"value":4067}," is YouTube-URL-only; it does not accept arbitrary video uploads (use ffmpeg to strip audio, then ",{"type":40,"tag":96,"props":4069,"children":4071},{"className":4070},[],[4072],{"type":45,"value":4073},"\u002Faudio\u002Ftranscriptions",{"type":45,"value":249},{"type":40,"tag":4076,"props":4077,"children":4078},"style",{},[4079],{"type":45,"value":4080},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4082,"total":4246},[4083,4099,4110,4122,4134,4146,4163,4176,4192,4208,4221,4235],{"slug":4084,"name":4084,"fn":4085,"description":4086,"org":4087,"tags":4088,"stars":23,"repoUrl":24,"updatedAt":4098},"venice-api-keys","manage Venice API keys and rate limits","Manage Venice API keys. Covers GET\u002FPOST\u002FPATCH\u002FDELETE \u002Fapi_keys, GET \u002Fapi_keys\u002F{id}, GET \u002Fapi_keys\u002Frate_limits, GET \u002Fapi_keys\u002Frate_limits\u002Flog, the two-step \u002Fapi_keys\u002Fgenerate_web3_key wallet flow, INFERENCE vs ADMIN key types, and per-key consumption limits (USD \u002F DIEM).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4089,4092,4095],{"name":4090,"slug":4091,"type":16},"API Development","api-development",{"name":4093,"slug":4094,"type":16},"Authentication","authentication",{"name":4096,"slug":4097,"type":16},"Security","security","2026-07-17T06:05:40.24171",{"slug":4100,"name":4100,"fn":4101,"description":4102,"org":4103,"tags":4104,"stars":23,"repoUrl":24,"updatedAt":4109},"venice-api-overview","integrate with Venice AI API","High-level map of the Venice.ai API - base URL, authentication modes, endpoint categories, response headers, pricing model, error shape, and versioning. Load this first when starting any Venice integration.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4105,4106],{"name":4090,"slug":4091,"type":16},{"name":4107,"slug":4108,"type":16},"Documentation","documentation","2026-08-01T05:43:18.703041",{"slug":4111,"name":4111,"fn":4112,"description":4113,"org":4114,"tags":4115,"stars":23,"repoUrl":24,"updatedAt":4121},"venice-audio-music","generate music and audio tracks","Async music \u002F audio-track generation via Venice. Covers the \u002Faudio\u002Fquote + \u002Faudio\u002Fqueue + \u002Faudio\u002Fretrieve + \u002Faudio\u002Fcomplete lifecycle, lyrics vs instrumental, voice selection, duration, language, speed, model capability probing, and webhook-free polling.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4116,4118],{"name":4117,"slug":1383,"type":16},"Audio",{"name":4119,"slug":4120,"type":16},"Creative","creative","2026-07-17T06:04:02.174106",{"slug":4123,"name":4123,"fn":4124,"description":4125,"org":4126,"tags":4127,"stars":23,"repoUrl":24,"updatedAt":4133},"venice-audio-speech","generate speech from text","Generate speech from text via POST \u002Faudio\u002Fspeech, and clone a voice via POST \u002Faudio\u002Fvoices. Covers TTS models (Kokoro, Qwen 3, xAI, Inworld, Chatterbox, Orpheus, ElevenLabs Turbo, MiniMax, Gemini Flash, Gradium), voices per family, cloned-voice handles, output formats (mp3\u002Fopus\u002Faac\u002Fflac\u002Fwav\u002Fpcm), streaming, prompt\u002Femotion styling, temperature\u002Ftop_p, and language hints.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4128,4129,4132],{"name":4117,"slug":1383,"type":16},{"name":4130,"slug":4131,"type":16},"Speech","speech",{"name":14,"slug":15,"type":16},"2026-08-01T05:43:12.713524",{"slug":2772,"name":2772,"fn":4135,"description":4136,"org":4137,"tags":4138,"stars":23,"repoUrl":24,"updatedAt":4145},"transcribe audio files to text","Transcribe audio files to text via POST \u002Faudio\u002Ftranscriptions. Covers supported models (Parakeet, Whisper, Wizper, Scribe, xAI STT), supported formats (wav\u002Fflac\u002Fm4a\u002Faac\u002Fmp4\u002Fmp3\u002Fogg\u002Fwebm), response formats (json\u002Ftext), timestamps, and language hints. OpenAI-compatible multipart.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4139,4140,4143,4144],{"name":4117,"slug":1383,"type":16},{"name":4141,"slug":4142,"type":16},"Data Extraction","data-extraction",{"name":4130,"slug":4131,"type":16},{"name":18,"slug":19,"type":16},"2026-07-17T06:04:05.524355",{"slug":4147,"name":4147,"fn":4148,"description":4149,"org":4150,"tags":4151,"stars":23,"repoUrl":24,"updatedAt":4162},"venice-augment","extract and parse text from documents","Venice augmentation endpoints for agent pipelines. Covers POST \u002Faugment\u002Ftext-parser (extract text from PDF\u002FDOCX\u002FXLSX\u002Fplain text, multipart, up to 25MB, JSON or plain text response), POST \u002Faugment\u002Fscrape (fetch a URL and return markdown; blocks X\u002FReddit), and POST \u002Faugment\u002Fsearch (Brave ZDR or anonymized Google; structured title\u002Furl\u002Fcontent\u002Fdate results, up to 20 per query). Privacy (zero data retention), rate limits, and error shapes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4152,4153,4156,4159],{"name":4141,"slug":4142,"type":16},{"name":4154,"slug":4155,"type":16},"DOCX","docx",{"name":4157,"slug":4158,"type":16},"PDF","pdf",{"name":4160,"slug":4161,"type":16},"Spreadsheets","spreadsheets","2026-07-17T06:04:00.77979",{"slug":4164,"name":4164,"fn":4165,"description":4166,"org":4167,"tags":4168,"stars":23,"repoUrl":24,"updatedAt":4175},"venice-auth","authenticate to Venice API","Authenticate to the Venice API with a Bearer API key or with an x402 \u002F SIWX wallet (EVM on Base or Ed25519 on Solana). Covers the SIGN-IN-WITH-X header format, the SIWE and Solana message fields, TTL and nonce rules, the venice-x402-client SDK, and how to choose between the two modes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4169,4170,4173],{"name":4090,"slug":4091,"type":16},{"name":4171,"slug":4172,"type":16},"Auth","auth",{"name":4174,"slug":4174,"type":16},"x402","2026-08-01T05:43:14.726965",{"slug":4177,"name":4177,"fn":4178,"description":4179,"org":4180,"tags":4181,"stars":23,"repoUrl":24,"updatedAt":4191},"venice-billing","manage Venice billing and usage analytics","Venice billing and usage analytics - GET \u002Fbilling\u002Fbalance, GET \u002Fbilling\u002Fusage-history (keyset-paginated per-request ledger, JSON or CSV), GET \u002Fbilling\u002Fusage (deprecated predecessor), and GET \u002Fbilling\u002Fusage-analytics (aggregated by date\u002Fmodel\u002Fkey). Covers the DIEM\u002FUSD\u002FBUNDLED_CREDITS consumption priority and building dashboards. (Beta)",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4182,4185,4188],{"name":4183,"slug":4184,"type":16},"Analytics","analytics",{"name":4186,"slug":4187,"type":16},"Finance","finance",{"name":4189,"slug":4190,"type":16},"Reporting","reporting","2026-08-01T05:43:13.766419",{"slug":4193,"name":4193,"fn":4194,"description":4195,"org":4196,"tags":4197,"stars":23,"repoUrl":24,"updatedAt":4207},"venice-characters","discover and use Venice AI characters","Discover and use Venice public characters (persona-driven system prompts with a bound model). Covers GET \u002Fcharacters (search\u002Ffilter\u002Fsort), \u002Fcharacters\u002F{slug}, \u002Fcharacters\u002F{slug}\u002Freviews, the Character schema, and how to apply a character via venice_parameters.character_slug in chat completions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4198,4201,4204],{"name":4199,"slug":4200,"type":16},"Agents","agents",{"name":4202,"slug":4203,"type":16},"LLM","llm",{"name":4205,"slug":4206,"type":16},"Persona","persona","2026-07-17T06:05:40.942733",{"slug":4209,"name":4209,"fn":4210,"description":4211,"org":4212,"tags":4213,"stars":23,"repoUrl":24,"updatedAt":4220},"venice-chat","interact with Venice chat completions API","Call POST \u002Fchat\u002Fcompletions on Venice. Covers the OpenAI-compatible request shape, Venice-only venice_parameters (web search, E2EE, characters, thinking control, X search), multimodal inputs (images\u002Faudio\u002Fvideo), tool calls, reasoning controls, streaming, prompt caching, structured output, and model feature suffixes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4214,4215,4216,4217],{"name":4199,"slug":4200,"type":16},{"name":4090,"slug":4091,"type":16},{"name":4202,"slug":4203,"type":16},{"name":4218,"slug":4219,"type":16},"Multimodal","multimodal","2026-08-01T05:43:15.821764",{"slug":4222,"name":4222,"fn":4223,"description":4224,"org":4225,"tags":4226,"stars":23,"repoUrl":24,"updatedAt":4234},"venice-crypto-rpc","proxy crypto JSON-RPC calls via Venice","Use Venice as a pay-per-call JSON-RPC proxy to 27 EVM, Starknet, and Solana networks. Covers GET \u002Fcrypto\u002Frpc\u002Fnetworks, POST \u002Fcrypto\u002Frpc\u002F{network}, chain families and per-family method allowlists, the 1×\u002F2×\u002F4× method-tier pricing model, per-minute + 24-hour credit rate limits, idempotency keys for safe retries, single vs batch requests, and the unsupported stateful\u002FWebSocket methods (eth_subscribe, eth_newFilter, *Subscribe, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4227,4228,4231],{"name":4090,"slug":4091,"type":16},{"name":4229,"slug":4230,"type":16},"Ethereum","ethereum",{"name":4232,"slug":4233,"type":16},"Web3","web3","2026-08-01T05:43:22.78028",{"slug":4236,"name":4236,"fn":4237,"description":4238,"org":4239,"tags":4240,"stars":23,"repoUrl":24,"updatedAt":4245},"venice-embeddings","generate embeddings with Venice API","Call POST \u002Fembeddings on Venice. Covers request shape (input, model, encoding_format, dimensions, user), OpenAI compatibility, response compression (gzip\u002Fbr), and practical usage for retrieval, clustering, and RAG.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4241,4244],{"name":4242,"slug":4243,"type":16},"Data Analysis","data-analysis",{"name":4202,"slug":4203,"type":16},"2026-07-17T06:07:34.97752",20,{"items":4248,"total":4246},[4249,4255,4260,4265,4271,4278,4285],{"slug":4084,"name":4084,"fn":4085,"description":4086,"org":4250,"tags":4251,"stars":23,"repoUrl":24,"updatedAt":4098},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4252,4253,4254],{"name":4090,"slug":4091,"type":16},{"name":4093,"slug":4094,"type":16},{"name":4096,"slug":4097,"type":16},{"slug":4100,"name":4100,"fn":4101,"description":4102,"org":4256,"tags":4257,"stars":23,"repoUrl":24,"updatedAt":4109},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4258,4259],{"name":4090,"slug":4091,"type":16},{"name":4107,"slug":4108,"type":16},{"slug":4111,"name":4111,"fn":4112,"description":4113,"org":4261,"tags":4262,"stars":23,"repoUrl":24,"updatedAt":4121},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4263,4264],{"name":4117,"slug":1383,"type":16},{"name":4119,"slug":4120,"type":16},{"slug":4123,"name":4123,"fn":4124,"description":4125,"org":4266,"tags":4267,"stars":23,"repoUrl":24,"updatedAt":4133},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4268,4269,4270],{"name":4117,"slug":1383,"type":16},{"name":4130,"slug":4131,"type":16},{"name":14,"slug":15,"type":16},{"slug":2772,"name":2772,"fn":4135,"description":4136,"org":4272,"tags":4273,"stars":23,"repoUrl":24,"updatedAt":4145},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4274,4275,4276,4277],{"name":4117,"slug":1383,"type":16},{"name":4141,"slug":4142,"type":16},{"name":4130,"slug":4131,"type":16},{"name":18,"slug":19,"type":16},{"slug":4147,"name":4147,"fn":4148,"description":4149,"org":4279,"tags":4280,"stars":23,"repoUrl":24,"updatedAt":4162},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4281,4282,4283,4284],{"name":4141,"slug":4142,"type":16},{"name":4154,"slug":4155,"type":16},{"name":4157,"slug":4158,"type":16},{"name":4160,"slug":4161,"type":16},{"slug":4164,"name":4164,"fn":4165,"description":4166,"org":4286,"tags":4287,"stars":23,"repoUrl":24,"updatedAt":4175},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4288,4289,4290],{"name":4090,"slug":4091,"type":16},{"name":4171,"slug":4172,"type":16},{"name":4174,"slug":4174,"type":16}]