Skip to main content

Overview

Qwen Image Edit LoRA is an asynchronous image-to-image editing model. Send one primary image URL, up to two optional reference image URLs, and a text prompt, then poll the task until the edited image is ready. Output composition and dimensions follow the primary image.

Endpoint and authentication

Base URL:
All requests require your APIXO API key:
Submit requests also require:

Copy-paste async quickstart

Successful response:

Poll for result

Processing response:
Success response:
Parse resultJson after state becomes success:

Request body

Parameters

string
default:"async"
required
Result delivery mode. Use async and poll with statusTask.
object
required
Qwen Image Edit LoRA input parameters.

Editing with reference images

Put the primary image first, followed by the reference images in the order described by your prompt. Existing single-image requests remain supported.

Response format

POST /generateTask/qwen-image-edit-LoRA returns a task ID when the task is accepted.
integer
API status code. 200 means the task was accepted.
string
Human-readable status message.
string
Unique task identifier used with the status endpoint.

Status response fields

string
Unique task identifier.
string
Current task state: pending, processing, success, or failed.
string
JSON string containing edited image URLs in resultUrls. Present when state is success.
string
Machine-readable failure code. Present when state is failed.
string
Human-readable failure message. Present when state is failed.
integer
Task creation timestamp in Unix milliseconds.
integer
Task completion timestamp in Unix milliseconds. Present after completion when available.
integer
Processing duration in milliseconds when available.

Billing

Qwen Image Edit LoRA is billed per generated image. The base price is $0.048, including one primary input image. Each additional reference image adds $0.003; the input count comes from image_urls. Price = $0.048 + (image_urls.length - 1) × $0.003 For the current public price, see Pricing.

Latency and polling

This endpoint is asynchronous. Actual latency varies by image complexity and current queue load.

Errors and troubleshooting

See Error Codes for the full error reference.