Skip to content

Qwen Video Model ​

Qwen videos are classified into a video model directory, suitable for video generation, video extension, and model compatibility with request. MoonNexAI connects Qwen video to a unified video task process, which is then submitted with task ID to query status and results.

Current Model ​

Qwen video model names are based on MoonNexAI console, model lists API and API Reference. It is recommended to call GET /v1/models to confirm the available model before access.

Current API Behaviour ​

ItemCurrent behaviour
Create taskUse POST /v1/videos.
Video ExtensionUse POST /v1/videos/extend for support.
Query taskUse GET /v1/videos/{task_id}, or you can also search by following the task central process.
Enter RecommendationsPrompt writes about the subject, the action, the lens, the style and the content that needs to be continued.

API Path ​

MethodologyPathPurpose
POST/v1/videosCreates a Qwen video task.
POST/v1/videos/extendSubmit video extension task.
GET/v1/videos/{task_id}Query video task results.
GET/v1/tasks/{task_id}Query task centre state.

Common field ​

fieldAnnotations
modelQwen Video Model Name, based on the Model List and API Reference.
promptVideo generation or extension description.
durationVideo duration.
aspect_ratioVideo aspect ratio.
image / image_urlimage-to-video or reference images input.
video / video_urlreference video is imported when the video is extended.
callback_urltask addresses after completion of callback.

Example request ​

bash
curl https://moonnexai.com/v1/videos \
  -H "Authorization: Bearer <MOONNEXAI_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen-video-model",
    "prompt": "一段产品宣传视频,主体居中,镜头缓慢推进,真实棚拍光照。",
    "duration": 5,
    "aspect_ratio": "16:9"
  }'

task Processing ​

PhaseTreatment
Successful submissionSaves task ID, model name, prompt and input media assets.
Generatingpolling query API, or wait for callback notification.
CompletedReads the video URL and saves the full query result.
FailedSaves error information and request parameters to facilitate resubmission.

Relevant Pages ​