Wan 2.6 text-to-video at 720p or 1080p, up to 15s
Pass one of these ids as model. Each id covers the tasks listed next to it; credit costs match the studio.
| Model Id | Tasks | Credits | Output | Est. Time |
|---|---|---|---|---|
wan26-text-to-video | Text to Video | 125+ | 1080p · 5-15 sec | 2-6 min |
wan26-image-to-video | Image to Video | 125+ | 1080p · 5-15 sec | 2-6 min |
Submit a text to video job with wan26-text-to-video. The API answers 202 with a generation in queued state.
1curl https://vogoo.ai/api/v1/generations \2-H "Authorization: Bearer $VOGOO_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "wan26-text-to-video",6"scene": "text-to-video",7"prompt": "A cinematic tracking shot along a sunlit coastal road",8"options": {9"duration": 5,10"aspect_ratio": "16:9"11}12}'
| Field | Type | Description |
|---|---|---|
model | string, required | A model id from the models market or GET /api/v1/models. |
prompt | string | What to generate. Required unless options carries the full input. |
scene | string | One of the model's tasks, such as text-to-video or image-to-video. Defaults to the first one. |
options | object | Model settings such as aspect_ratio, duration, image_input (image models) or image_urls (video models). Unsupported keys are ignored. |
enhance_prompt | boolean | Let Vogoo rewrite the prompt before it reaches the model. Default false. |
Valid scene values for Wan 2.6: text-to-video, image-to-video.
Poll every few seconds until status is completed or failed.
curl https://vogoo.ai/api/v1/generations/$GENERATION_ID \
-H "Authorization: Bearer $VOGOO_API_KEY"{
"id": "…",
"object": "generation",
"status": "completed",
"model": "wan26-text-to-video",
"model_name": "Wan 2.6",
"type": "video",
"scene": "text-to-video",
"outputs": [
{ "type": "video", "url": "https://…", "thumbnail_url": "https://…", "duration": 5 }
],
"error": null
}Errors use one shape for every model. See the full list in the general API docs.
{ "error": { "code": "INSUFFICIENT_CREDITS", "message": "…" } }