Model API'si

Qwen Image 3.0

Raywake’te Qwen Image 3.0 ile metin komutundan tek görsel oluştur.

Model kimliği

Her istekte bunu kullan
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

qwen-image-3-0 girdi alanları
AlanTürAçıklama
promptzorunlustring
Required. The prompt to generate the image. Max 4500 characters.
resolutionstring (enum)
Required. Quality tier for the generated image.

Varsayılan: 1K

Seçenekler: 1K, 2K

ratiostring (enum)
Optional. Aspect ratio of the output. Auto follows the first input image, or gives a square when there is no input image.

Varsayılan: auto

Seçenekler: auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9

ninteger
Optional. How many images to generate, up to 6. Each generated image is billed.

Varsayılan: 1

negativePromptstring
Optional. Specify what to exclude from the output.
promptExtendstring (enum)
Optional. Rewrites and expands the prompt for better detail, with slightly longer latency. Useful for short prompts.

Varsayılan: false

Seçenekler: true, false

promptExtendModestring (enum)
Optional. Direct suits most cases. Agent rewrites more heavily but works only without an input image, otherwise it falls back to direct.

Varsayılan: direct

Seçenekler: direct, agent

enableThinkingstring (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.

Varsayılan: true

Seçenekler: true, false

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": "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?