Qubico
  1. Qwen Image
Qubico
  • Get Started
    • Overview
    • Quickstart
  • Endpoints
    • image
      • Flux
        • Flux with LoRA and Controlnet
        • Available LoRA and Controlnet
        • Flux API with Redux Variation, Fill, Inpaint and Outpaint
        • Create Task
          • Kontext
          • Text to Image
          • Image to Image
        • Get task
      • Qwen Image
        • Text to Image
          POST
        • Image Edit
          POST
        • Get Task
          GET
      • Image Upscaler
        • Image Upscale(Super Resolution) API
        • Image Upscale-Get Task
      • Image Background Remover
        • Remove Background API
        • Remove Background-Get Task
    • video
      • Wan
        • Generate WanX Task with LoRA Using Qubico
        • Available LoRA Types for Wanx
        • Use Cases for Wanx LoRA
        • Use Cases for Wanx Control Camera
        • Create Task
        • Get Task
      • Skyreels
        • Create Task
        • Get Task
      • Framepack
        • Create Task
        • Get Task
      • Hunyuan Video
        • How to Make a Hunyuan API Call
        • Generate Video
        • Get Task
      • AI Hug
        • Create Task
        • Get Task
      • Video Upscale
        • Video Upscale
        • Video Upscale-Get Task
    • other
      • Trellis
        • Create Task
        • Get Task
    • Tools
      • Segment With Prompt API
      • Segment With Prompt API-Get Task
    • Account Management
      • Account Info
      • Task List Info
      • User Task History
  • Resources
    • Change Log
    • Output Storage
    • Unified API Schema
    • Webhook
  1. Qwen Image

Text to Image

POST
/api/v1/task
This is provided as Qwen image API. available models:
txt2img
Pricing
$0.015 per image

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Successful operation
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/task' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "Qubico/qwen-image",
    "task_type": "txt2img",
    "input": {
        "prompt": "A woman and a child are doing interview at New York street, hold a mic with '\''pi news'\'' on it. A store named '\''piapi'\'' behind them. realistic style",
        "seed": -1,
        "steps": 16,
        "width": 1024,
        "height": 1024,
        "flow_shift": 3
    },
    "config": {
        "webhook_config": {
            "endpoint": "https://webhook.site/f608a6c5-61e3-4f56-89c6-d1ce1e1d54d7",
            "secret": ""
        }
    }
}'
Response Response Example
200 - Example 1
{
    "task_id": "string",
    "status": "pending",
    "created_at": "2019-08-24T14:15:22Z"
}
Modified at 2025-10-15 06:51:29
Previous
Get task
Next
Image Edit
Built with