Skip to main content
Skip to main content

Vidu Q3 Video

Vidu Q3 is Shengshu AI's next-generation video model, built for narrative work: 16-second single-pass generation with native audio - dialogue, narration, sound effects, and music generated together with the visuals - plus multi-character dialogue and frame-level camera/beat control.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:ViduPrice: $0.044 / second
Open docs

API DOCS / SIMPLIFIED

Task API overview

Create a task for Vidu Q3 Video with its model ID and parameters, then use the returned task ID to check its status. Include your MuseSpark API key in each request.

X-API-Key on every request
POST /api/v1/openapi/task
GET /api/v1/openapi/task/status/{task_id}
Async task workflow

Create a task and retrieve its status

Replace the API key placeholder and review the example parameters before sending the request. Each example checks status once; repeat the status request until the task finishes. For cURL, also replace the task ID placeholder with the ID returned by the create request.

Task API

API_KEY="<API_KEY>"
BASE_URL="https://api.musespark.ai"
REQUEST_BODY='{
  "model_id": "vidu-q3-video",
  "parameters": {
    "prompt": "A little girl chases a glowing golden butterfly through a field of sunflowers that gradually transform into a fantastical underwater coral reef. She starts swimming instead of running, her dress flowing like jellyfish tentacles. Bioluminescent fish swirl around her. The transition from land to sea is seamless and dreamlike. Soft ethereal lighting, magic realism style.",
    "images": [
      "<IMAGE_URL>"
    ],
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "batch_size": 1
  }
}'

CREATE_RESPONSE=$(curl --request POST "$BASE_URL/api/v1/openapi/task" \
  --header "X-API-Key: $API_KEY" \
  --header "Content-Type: application/json" \
  --data-raw "$REQUEST_BODY")

printf '%s\n' "$CREATE_RESPONSE"
TASK_ID="<TASK_ID_FROM_CREATE_RESPONSE>"

curl "$BASE_URL/api/v1/openapi/task/status/$TASK_ID" \
  --header "X-API-Key: $API_KEY"

Request and response

The request creates a task; the response shown is an example from a status lookup. Inline comments explain fields and must be removed before sending or parsing the copied JSON.

Create task request

Send this request body to the task creation endpoint with values appropriate for your use case.

Request Body · JSON
{
"model_id": "vidu-q3-video",// target model
"parameters": {
"prompt": "A little girl chases a glowing golden butterfly through a field of sunflowers that gradually transform into a fantastical underwater coral reef. She starts swimming instead of running, her dress flowing like jellyfish tentacles. Bioluminescent fish swirl around her. The transition from land to sea is seamless and dreamlike. Soft ethereal lighting, magic realism style.",// describe the motion and camera behavior for the video. Maximum 5000 characters · min 1 · max 5000 · min length 1 · max length 5000
"images": [// one to seven public PNG, JPEG, JPG, or WebP reference image URLs. Each image must be at least 128 by 128 pixels, have aspect ratio between 1:4 and 4:1, and not exceed 50 MB · min 1 · max 7 · min items 1 · max items 7
"<IMAGE_URL>"
],
"resolution": "720p",// output video resolution · enum: 540p | 720p | 1080p
"duration": 5,// video duration in seconds · min 3 · max 16
"aspect_ratio": "16:9",// output video aspect ratio · enum: 16:9 | 9:16 | 4:3 | 3:4 | 1:1
"batch_size": 1// standard quantity control field. The allowed range for this item is 1-4 · min 1 · max 4
}
}

Available parameters and their requirements depend on the selected model or tool and input mode.

Task status response

A completed task may return output in its result. The result fields and output format depend on the model or tool.

Response Body · JSON
{
"code": 200,// 200 on success
"msg": "success",
"data": {
"task_id": "task_01HQX8N2QJ0YQ8Q0T7G6N4V6K2",// use for status polling
"status": "completed",// enum: queued | running | completed | failed | cancelled
"progress": 100,// 0-100 if available
"completed_at": 1760000000,// unix timestamp
"expires_at": 1760001800,// unix timestamp
"result": {
"output_urls": [// generated files
"https://cdn.example.com/output.png"
]
}
}
}

Poll every 2-5 seconds and stop once status becomes completed, failed, cancelled.