curl-X POST 'https://pollo.ai/api/platform/v1/generation/alibaba/wan-v3-0/video'\-H'Content-Type: application/json'\-H'x-api-key: YOUR_API_KEY'\-d'{ "input": { "prompt": "A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field", "duration": 5, "resolution": "480p", "aspectRatio": "adaptive", "generateAudio": true }}'
Optionally include webhookUrl to receive a callback when the task succeeds or fails.
Optional request field
{"input":{"prompt":"A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field","duration":5,"resolution":"480p","aspectRatio":"adaptive","generateAudio":true},"webhookUrl":"https://example.com/webhooks/pollo"}
Schema
Input fields for the selected endpoint and mode.
Field
Type
Required
Description
prompt
string
Yes
Text prompt describing the content to generate.
duration
integer
No
The duration of the generated video, in seconds.
resolution
string
No
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.
aspectRatio
string
No
Output aspect ratio, as width:height (e.g. 16:9).
generateAudio
boolean
No
Generate natural-sounding, fitting audio for the output video.
Recurring Character Stories: Pair a character reference with a new setting and a short sequence of actions for the next installment.
Location-Based Narratives: Use a location image to anchor a scene that develops from an establishing view into a character interaction.
Audio-Led Scene Concepts: Explore footage built around a supplied sound reference, with the relationship between sound and action specified in the brief.
Alternative Scene Endings: Develop different reactions to the same event while keeping the preceding story context consistent.
Craft Process Stories: Show a maker inspecting a material, working on it, and revealing a result within a connected narrative.
Reference-Based Previsualization: Turn approved visual references into motion studies before committing resources to a live shoot.
如何使用 Wan 3.0 API
Get an API Key: Create a Pollo API account and generate your API key from the developer dashboard.
Choose the Model: Send requests to the Wan 3.0 endpoint at /generation/alibaba/wan-v3-0/video
Add Your Inputs: Provide your prompt and supported media. Set duration, resolution, and generateAudio as needed; follow the selected mode’s current schema.
Generate and Retrieve: Submit the request, retain the returned taskId, and check task status to retrieve the completed video.
Wan 3.0 API 提示词最佳实践
将场景写成一个带有明显变化的小故事。为每个参考分配一个明确的目的,然后解释连接开头和结尾的动作。
简单的提示词公式
Reference roles + setting + subject + opening action + turning point + ending reaction + camera direction + sound
你应该注意什么
Reference Roles: Explain whether each supplied asset establishes a character, setting, movement, or sound; avoid asking one asset to fulfill conflicting roles.
Story Progression: Replace a list of unrelated events with one cause-and-effect sequence that viewers can follow.
Character Anchors: Repeat the few details that must remain recognizable, such as a red scarf or a distinctive shoulder bag.
Sound Priorities: Identify the important audible event and leave quieter background sound subordinate to it.
Revision Scope: When editing, distinguish the requested change from the visual elements that should remain fixed.