Lumina AIModel guides

Qwen Image 3.0 Pro text-to-image API integration

Photograph a tea tin for a product page with qwen-image-3.0-pro/text-to-image. Prepare the assets, submit the request and check the result.

Photograph a tea tin for a product page

Decide where the image will appear before composing the prompt. Check both the full image and a thumbnail cropped to the product grid. The lid, the base and the shadow should still fit, with enough clear space for the page title.

Production settings

Describe what to retain in prompt. If test images repeatedly introduce a watermark or stray lettering, identify the unwanted element in negative_prompt. Compare the next output with the same source for any missing label text or fine lines.

Submit the task

Set LUMINA_API_KEY on the server to an API key that can call this model.

curl -sS -X POST 'https://luminaai.cloud/lumina/v1/images/generations' \
  -H "Authorization: Bearer $LUMINA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'JSON'
{
  "model": "qwen-image-3.0-pro/text-to-image",
  "prompt": "A matte teal tea tin on a pale grey table, photographed at label height. Soft window light from the left, the entire tin in frame and clear space on the right for copy."
}
JSON

Fields for this request

FieldType, limits or values
promptstring
sizedefault "1024*1024"
nmin 1 · max 4 · default 1
seedmin 0 · max 2147483647

Retrieve the result

Save the id from the submission response. Replace TASK_ID below with that value and use the same key. If the status is IN_PROGRESS, poll this task again.

curl -sS 'https://luminaai.cloud/lumina/v1/tasks/TASK_ID' \
  -H "Authorization: Bearer $LUMINA_API_KEY"

Read the generated files when the task reaches SUCCESS. If it returns FAILURE, retain the task ID and error so you can trace the exact inputs and model used.