Model API'si

Qwen Image Edit Plus Lora Gallery

Qwen Group Photo ile ayrı portreleri ortak bir sahnede birleştirebilirsin.

Model kimliği

Her istekte bunu kullan
qwen-image-edit-plus-lora-gallery/group-photo

Ç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-edit-plus-lora-gallery/group-photo",
  "input": {
    "image_urls": [
      "https://example.com/input.png"
    ],
    "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-edit-plus-lora-gallery/group-photo", "quote_id": "QUOTE_ID", "input": {"image_urls":["https://example.com/input.png"],"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-edit-plus-lora-gallery/group-photo girdi alanları
AlanTürAçıklama
image_urlszorunluarray of image URLs
The URLs of the images to combine into a group photo. Provide 2 or more individual portrait images.
image_sizestring (enum)
The size of the generated image. If not provided, the size of the final input image will be used.

Varsayılan: square_hd

Seçenekler: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9

guidance_scalenumber
The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.

Varsayılan: 1

num_inference_stepsinteger
The number of inference steps to perform.

Varsayılan: 6

accelerationstring (enum)
Acceleration level for image generation. 'regular' balances speed and quality.

Varsayılan: regular

Seçenekler: none, regular

negative_promptstring
The negative prompt for the generation

Varsayılan:

seedinteger
Random seed for reproducibility. Same seed with same prompt will produce same result.
sync_modeboolean
If `True`, the media will be returned as a data URI and won't be saved in history.

Varsayılan: false

output_formatstring (enum)
The format of the output image

Varsayılan: png

Seçenekler: png, jpeg, webp

num_imagesinteger
Number of images to generate

Varsayılan: 1

promptstring
Describe the group photo scene, setting, and style. The model will maintain character consistency and add vintage effects like grain, blur, and retro filters.

Varsayılan: Two people standing next to each other outside with a landscape background

lora_scalenumber
The scale factor for the LoRA model. Controls the strength of the LoRA effect.

Varsayılan: 1

Çı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 megapixel$0,06/ megapiksel

Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?