Skip to content
Docs menu

Video models

Wan 2.7 Video

On this page

Wan 2.7 Video — high-quality AI video generation.

modelIdwan-2-7-text-to-video
Modalityvideo
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationEndpointDescription
Text to videoPOST /api/v1/generateBase generation from a text prompt.
Image to videoPOST /api/v1/generateCondition on a reference image — upload it via /api/v1/files/upload and pass the URL.
Poll taskGET /api/v1/task/{id}?model=wan-2-7-text-to-videoRetrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
prompttextarearequiredEnter your text here...
negative_prompttextareaoptionalEnter your text here...
audio_urlimageoptionalDrag and drop or click to upload your image
resolutionselectoptional720p, 1080p
ratioselectoptional16:9, 9:16, 1:1, 4:3, 3:4
durationnumberoptional
prompt_extendselectoptionalfalse, true
watermarkselectoptionalfalse, true
seednumberoptionalEnter number...
nsfw_checkerselectoptionalfalse, true

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"wan-2-7-text-to-video","input":{"prompt":"A sandcastle builds itself grain by grain on an empty beach in time-lapse. Audio: soft waves, distant seagulls.","negative_prompt":"…","resolution":"1080p","ratio":"16:9","duration":5,"prompt_extend":"true","watermark":"false","seed":0,"nsfw_checker":"true"}}'