Model API'si
Wan 3.0
Wan 3.0 ile bir başlangıç görseline hareket ekleyin.
Model kimliği
wan-3-0Bu modelin kendi kimliği olan başka modları da var: alibaba/wan-3.0/image-to-video, alibaba/wan-3.0/reference-to-video.
Çalıştır
Girdiye ücret teklifi al, bu teklifle üretimi başlat, ardından işin durumunu sorgula. Önce RAYWAKE_API_KEY değişkenini ayarla; ayrıntılar için Kimlik doğrulama sayfasına bak.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan-3-0",
"input": {
"prompt": "A red ceramic cup on a wooden table, soft morning light"
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "wan-3-0", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light"}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"Girdi
| Alan | Tür | Açıklama |
|---|---|---|
inputImage | array of image URLs | Optional. First frame of the video. Leave empty to generate from the prompt alone. JPEG/JPG/PNG (no transparency)/BMP/WEBP, 240-8000px, ratio up to 8:1, max 20MB. |
promptzorunlu | string | Required. The prompt to generate the video. |
duration | string (enum) | Required. Total duration of the generated video (in seconds) |
resolution | string (enum) | Required. Quality tier for the generated video |
ratio | string (enum) | Optional. Aspect ratio of the output. Adaptive derives it from the prompt and the input images. |
inputImageLast | array of image URLs | Optional. Last frame of the video. Same format limits as the first frame. |
audioEnabled | string (enum) | Optional. Whether the output carries an audio track. The price is the same either way. |
promptExtend | string (enum) | Optional. Rewrites and expands the prompt for better detail, with slightly longer latency. Useful for short prompts. |
seed | integer | Optional. Random seed for reproducibility (0-2147483647). |
Çıktı
Başarılı bir iş, sonuçlarını outputs altında listeler; dosyalar bizim tarafımızda saklanır. Tüm alanlar için İşler sayfasına bak.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]Fiyatlandırma
- 480P · 5 sn$0,40/ video
- 480P · 10 s$0,80/ video
- 480P · 15 s$1,19/ video
- 480P · 20 s$1,59/ video
- 480P · 25 s$1,99/ video
- 480P · 30 s$2,38/ video
- 720P · 5 sn$0,80/ video
- 720P · 10 s$1,59/ video
- 720P · 15 s$2,38/ video
- 720P · 20 s$3,17/ video
- 720P · 25 s$3,97/ video
- 720P · 30 s$4,76/ video
- 1080P · 5 sn$1,59/ video
- 1080P · 10 s$3,17/ video
- 1080P · 15 s$4,76/ video
- 1080P · 20 s$6,34/ video
- 1080P · 25 s$7,93/ video
- 1080P · 30 s$9,51/ video
Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?