Model API'si
Qwen Image 3.0
Raywake’te Qwen Image 3.0 ile metin komutundan tek görsel oluştur.
Model kimliği
qwen-image-3-0Ç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": "qwen-image-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": "qwen-image-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 |
|---|---|---|
promptzorunlu | string | Required. The prompt to generate the image. Max 4500 characters. |
resolution | string (enum) | Required. Quality tier for the generated image. |
ratio | string (enum) | Optional. Aspect ratio of the output. Auto follows the first input image, or gives a square when there is no input image. |
n | integer | Optional. How many images to generate, up to 6. Each generated image is billed. |
negativePrompt | string | Optional. Specify what to exclude from the output. |
promptExtend | string (enum) | Optional. Rewrites and expands the prompt for better detail, with slightly longer latency. Useful for short prompts. |
promptExtendMode | string (enum) | Optional. Direct suits most cases. Agent rewrites more heavily but works only without an input image, otherwise it falls back to direct. |
enableThinking | string (enum) | Optional. Improves output quality at the cost of longer generation time. Needs Prompt Extend to be true. The price is the same either way. |
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": "image", "url": "https://…", "mime_type": "image/png", "thumbnail_url": "https://…" }
]Fiyatlandırma
- 1 görsel$0,07/ görsel
Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?