Wan 3.0 Video Spicy API guide
Wan 3.0 Video Spicy API: Generate video from text, images, or multimodal references with Wan 3.0 Video Spicy. Choose the matching generation_type and use this item's media, duration, resolution, and watermark requirements.
Model overview
Generate video from text, images, or multimodal references with Wan 3.0 Video Spicy. Choose the matching generation_type and use this item's media, duration, resolution, and watermark requirements.
API integration
| Documentation | Value |
|---|---|
| API invocation identifier | wan-3.0-video-spicy |
| Integration | Async task API |
Use this invocation identifier in API requests. Check your authorized model catalog for access. Follow the Quickstart for your first complete call.
Request parameters
Select a mode to highlight its required inputs. Mode selection does not change the API field names.
Studio presets describe the form setup, not guaranteed server defaults. Send preset values explicitly to reproduce them.
Additional requirements depend on other values. See model rules.
Text prompt describing the video to generate. Required for every input mode.
Required for Image to Video.
Additional requirements depend on other values. See model rules.
Public image URLs. generation_type selects frame or reference input. Frame and reference families must not be mixed.
Item count: maximum 10.
Media types: image/jpeg, image/png, image/bmp, image/webp.
Up to five reference video clips, each 1-15 seconds and at most 15 seconds combined. Combined source and output duration must not exceed 30 seconds.
Item count: maximum 5.
Media types: video/mp4, video/quicktime.
Up to five reference audio clips, each 1-15 seconds and at most 15 seconds combined.
Item count: maximum 5.
Media types: audio/wav, audio/mpeg.
Single reference audio clip; alternative to audio_urls.
Media types: audio/wav, audio/mpeg.
Additional requirements depend on other values. See model rules.
For image-only input, Frame selects image-guided generation and Reference selects generation with visual references. With video or audio input, omit this option or select Reference; Frame is rejected by the public input-mode conditions.
Allowed values: "frame", "reference".
Output resolution; defaults to 1080P when omitted.
Allowed values: "480P", "720P", "1080P".
Studio preset: "1080P".
Output duration in seconds, from 4 to 30.
Allowed values (27)
Allowed values: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30.
Value: minimum 4; maximum 30.
Studio preset: 5.
Output video aspect ratio. Choose one of the five listed concrete ratios.
Allowed values: "16:9", "9:16", "1:1", "4:3", "3:4".
Studio preset: "16:9".
Standard quantity control field. The allowed range for this item is 1-4.
Repeats MuseSpark execution within one logical task. This is separate from a model-native output count.
Value: minimum 1; maximum 4.
Studio preset: 1.
Whether to add a watermark to the video.
Studio preset: false.
No parameters match. Clear the search or reset the filters.
Model rules
Input modes
Select a mode by supplying its required public inputs. The mode identifier describes a documentation/form choice; do not send input_mode as a model parameter.
| Mode | Required inputs |
|---|---|
| Text to Video | No reference media required |
| Image to Video | image_urls |
| Reference to Video | No reference media required |
- When the input mode is Text to Video, provide
prompt; omitaudio_url; omitaudio_urls; omitimage_urls; omitvideo_urls. - When the input mode is Image to Video, provide
image_urls; useframeforgeneration_type; omitaudio_url; omitaudio_urls; keepimage_urls, when supplied, at least 1 and at most 10 items; omitvideo_urls. - When the input mode is Reference to Video, use
referenceforgeneration_type. - When the input mode is Reference to Video and
image_urlsis provided andvideo_urlsis omitted andaudio_urlsis omitted andaudio_urlis omitted, providegeneration_type. - When the input mode is Reference to Video and
image_urlsis omitted andvideo_urlsis omitted andaudio_urlsis omitted andaudio_urlis omitted, provideimage_urls; keepimage_urls, when supplied, at least 1 items. - When
audio_urlis provided, omitaudio_urls. - When
audio_urlsis provided, omitaudio_url. - When
audio_urlsis provided andimage_urlsis omitted andvideo_urlsis omitted, provideimage_urls; keepimage_urls, when supplied, at least 1 items. - When
audio_urlis provided andimage_urlsis omitted andvideo_urlsis omitted, provideimage_urls; keepimage_urls, when supplied, at least 1 items. - When
generation_typeis "reference" andimage_urlsis omitted andvideo_urlsis omitted andaudio_urlsis omitted andaudio_urlis omitted, provideimage_urls; keepimage_urls, when supplied, at least 1 items.
Parameter meaning
- Pass a supported tier explicitly when output size matters. Omitting it can select the highest default tier.
- Reference to Video: Describe the intended scene, character actions and motion in prompt. Send prompt directly inside parameters, as shown in the request examples.
- Reference to Video: resolution selects output quality, aspect_ratio selects framing, and duration is the generated clip length in seconds. Set these controls separately inside parameters.
- Image to Video: Describe the intended scene, character actions and motion in prompt. Send prompt directly inside parameters, as shown in the request examples.
- Image to Video: resolution selects output quality, aspect_ratio selects framing, and duration is the generated clip length in seconds. Set these controls separately inside parameters.
- Text to Video: Describe the intended scene, character actions and motion in prompt. Send prompt directly inside parameters, as shown in the request examples.
- Text to Video: resolution selects output quality, aspect_ratio selects framing, and duration is the generated clip length in seconds. Set these controls separately inside parameters.
Dependencies
- Reference-video duration and requested output duration share a combined budget. Adaptive output length still has to fit within that budget.
- Reference indices are counted separately for each media type. Align prompt references with the ordering within the relevant array.
Reference media
- Reference to Video: The guidance in this section covers still-image references. Additional video and audio reference behavior is not verified here.
- Image to Video: Send reference URLs in the declared image_urls array, directly inside parameters.
Integration notes
Use the following field formats and values in MuseSpark requests.
prompt,resolution: Send the flat public fields inside parameters, as shown in the request examples. Create and poll tasks using the MuseSpark task endpoints.
batch_size controls repeated MuseSpark executions. Output grouping, sequential image generation, and video shot count are separate concepts.
Request examples
Replace example media URLs and YOUR_... input identifiers with your own valid resources. Examples are checked against the exported item schema; media access and paid execution are separate runtime checks.
Set MUSESPARK_API_KEY and a stable MUSESPARK_REQUEST_ID before submitting. Preserve the request ID for retries of the same request and use a new ID for new work. Python examples use requests; JavaScript examples use Node.js 20 or later. The standalone Quickstart includes task polling and recovery.
Text to Video
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "wan-3.0-video-spicy",
"parameters": {
"duration": 5,
"watermark": false,
"batch_size": 1,
"resolution": "1080P",
"aspect_ratio": "16:9",
"prompt": "A paper city under soft morning light"
}
}'Parameters used: duration · watermark · batch_size · resolution · aspect_ratio · prompt.
Image to Video
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "wan-3.0-video-spicy",
"parameters": {
"duration": 5,
"watermark": false,
"batch_size": 1,
"resolution": "1080P",
"aspect_ratio": "16:9",
"prompt": "A paper city under soft morning light",
"image_urls": [
"https://example.com/input-1.png"
]
}
}'Parameters used: duration · watermark · batch_size · resolution · aspect_ratio · prompt · image_urls.
Reference to Video
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "wan-3.0-video-spicy",
"parameters": {
"duration": 5,
"watermark": false,
"batch_size": 1,
"resolution": "1080P",
"aspect_ratio": "16:9",
"prompt": "A paper city under soft morning light",
"image_urls": [
"https://example.com/input-1.png"
],
"generation_type": "reference"
}
}'Parameters used: duration · watermark · batch_size · resolution · aspect_ratio · prompt · image_urls · generation_type.
Output
Creation returns a task ID inside data. Poll that task until completion, then save data.result.output_urls and any data.result.batch_results. See the task lifecycle for terminal states, result retention, and errors.
Troubleshooting
For rejected inputs, check the field type, accepted values, and conditional requirements in Request parameters and Model rules. Correct the affected fields before submitting again.
If creation times out, preserve the request identity and any known task ID. Follow Errors, timeouts and retries before submitting again.
Related docs
The public input snapshot was exported on 2026-11-09. Current prices and availability are listed in the model center.