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.
แนวทางปฏิบัติที่ดีที่สุดในการเขียน Prompt สำหรับ 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.
เลือก Wan 3.0 เมื่องานของคุณขึ้นอยู่กับความสัมพันธ์ระหว่างภาพอ้างอิง การดำเนินเรื่อง และเสียง ประเมินลำดับทั้งหมด รวมถึงช่วงท้ายสุดด้วย
Pollo API มอบการเชื่อมต่อเดียวสำหรับโมเดลภาพและวิดีโอให้กับทีมของคุณ ทำให้การสร้างงานอาร์ตอ้างอิงและพัฒนาการเคลื่อนไหวภายในแอปพลิเคชันเดียวเป็นเรื่องง่าย
ลอง Wan 3.0 บน Pollo API กับตัวละครที่ปรากฏซ้ำและเรื่องราวที่เรียบง่าย จากนั้นปรับแต่งการเปลี่ยนผ่านที่สำคัญที่สุดสำหรับเรื่องของคุณ
คำถามที่พบบ่อยเกี่ยวกับ Wan 3.0 API
Wan 3.0 คืออะไร?
Wan 3.0 คือโมเดลสร้างวิดีโอของ Alibaba สำหรับการสร้างจากข้อความ รูปภาพ และการอ้างอิง ความสามารถของมันรวมถึงเสียงแบบเนทีฟและลำดับที่ยาวขึ้น พร้อมการแก้ไขและการขยายที่อธิบายไว้ในเอกสารของ Alibaba
ฉันสามารถใช้ทรัพย์สินสร้างสรรค์ที่มีอยู่กับ Wan 3.0 ได้ไหม?