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 }}'
{"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"}
แผนผัง
ช่องป้อนข้อมูลสำหรับปลายทางและโหมดที่เลือก
สนาม
ประเภท
ที่จำเป็น
คำอธิบาย
prompt
string
ใช่
Text prompt describing the content to generate.
duration
integer
เลขที่
The duration of the generated video, in seconds.
resolution
string
เลขที่
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.
aspectRatio
string
เลขที่
Output aspect ratio, as width:height (e.g. 16:9).
generateAudio
boolean
เลขที่
Generate natural-sounding, fitting audio for the output video.
ถ่ายทอดเรื่องราวให้ต่อเนื่องไปไกลกว่าช็อตเปิดเรื่องด้วย Wan 3.0 โมเดลวิดีโอของ Alibaba ผสานคำแนะนำจากข้อมูลอ้างอิงเข้ากับเสียงที่สร้างขึ้น เพื่อพัฒนาลำดับภาพที่เชื่อมโยงกัน
ใช้ Wan 3.0 บน Pollo API เพื่อเชื่อมโยงบรีฟเรื่องราวและชิ้นงานครีเอทีฟที่มีอยู่เข้ากับการสร้างวิดีโอภายในแอปพลิเคชัน ไปป์ไลน์คอนเทนต์ หรือเครื่องมือโปรดักชันของคุณ
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.