Model API'si

Wan 3.0

Wan 3.0 ile bir başlangıç görseline hareket ekleyin.

Model kimliği

Her istekte bunu kullan
wan-3-0

Bu 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

wan-3-0 girdi alanları
AlanTürAçıklama
inputImagearray 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.

Varsayılan: []

promptzorunlustring
Required. The prompt to generate the video.
durationstring (enum)
Required. Total duration of the generated video (in seconds)

Varsayılan: 5

Seçenekler: 5, 10, 15, 20, 25, 30

resolutionstring (enum)
Required. Quality tier for the generated video

Varsayılan: 480P

Seçenekler: 480P, 720P, 1080P

ratiostring (enum)
Optional. Aspect ratio of the output. Adaptive derives it from the prompt and the input images.

Varsayılan: adaptive

Seçenekler: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16

inputImageLastarray of image URLs
Optional. Last frame of the video. Same format limits as the first frame.

Varsayılan: []

audioEnabledstring (enum)
Optional. Whether the output carries an audio track. The price is the same either way.

Varsayılan: false

Seçenekler: false, true

promptExtendstring (enum)
Optional. Rewrites and expands the prompt for better detail, with slightly longer latency. Useful for short prompts.

Varsayılan: false

Seçenekler: false, true

seedinteger
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.

İş yanıtından bir bölüm
"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?