Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.unifically.com/llms.txt

Use this file to discover all available pages before exploring further.

Generate photorealistic AI images using Qwen Image Max. Produces the highest realism with the fewest AI artifacts. Supports text-to-image and image editing via a specialized edit model under the hood (industrial design, geometric reasoning, character consistency).

Model

alibaba/qwen-image-max

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the image (max 800 chars)
aspect_ratiostringNo1:1, 16:9, 9:16, 4:3, 3:4 (default: 1:1)
image_urlsarrayNoInput image URLs for editing. Omit for text-to-image
negative_promptstringNoWhat to avoid in the image (max 500 chars)
prompt_extendbooleanNoSmart prompt rewriting (default: true)
seedintegerNoSeed for reproducibility

Example - Text-to-Image

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/qwen-image-max",
    "input": {
      "prompt": "Photorealistic close-up of a bumblebee on a lavender flower",
      "aspect_ratio": "4:3"
    }
  }'

Example - Image Editing

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/qwen-image-max",
    "input": {
      "prompt": "Change the dress to red",
      "image_urls": ["https://example.com/photo.jpg"]
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}