RunAPI Qwen Image API
The Qwen Image API from RunAPI — 6 operation(s) for qwen image.
The Qwen Image API from RunAPI — 6 operation(s) for qwen image.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/runapi:runapi-qwen-image-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: RunAPI Qwen Image API
version: v1
description: Create and retrieve AI media tasks, or use compatible LLM protocol endpoints.
servers:
- url: https://runapi.ai
security:
- bearerAuth: []
tags:
- name: Qwen Image
paths:
/api/v1/qwen_image/edit_image:
post:
tags:
- Qwen Image
summary: Qwen Image Edit-Image
description: Create an asynchronous task through the Qwen Image edit image endpoint.
operationId: task_endpoint_qwen_image_edit_image
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
model:
type: string
description: RunAPI model identifier.
const: qwen-image-edit-image
prompt:
type: string
maxLength: 2000
minLength: 1
description: Edit instruction for the source image.
source_image_url:
type: string
description: Public HTTPS source image URL (JPEG, PNG, or WebP; maximum 10 MB).
aspect_ratio:
type: string
enum:
- '1:1'
- '3:4'
- '9:16'
- '4:3'
- '16:9'
default: '1:1'
description: Output aspect ratio.
output_format:
type: string
enum:
- png
- jpeg
default: png
description: Output image format.
seed:
type: integer
description: Integer seed for reproducible results.
callback_url:
type: string
description: Webhook URL for asynchronous task updates.
additionalProperties: false
required:
- model
- prompt
- source_image_url
responses:
'202':
description: Create acceptance
content:
application/json:
schema:
type: object
required:
- id
- status
properties:
id:
type: string
status:
type: string
enum:
- processing
task_replayed:
type: boolean
unevaluatedProperties: false
'400':
description: Invalid request
content:
application/json:
schema:
oneOf:
- type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
- type: object
required:
- error
- errors
properties:
error:
type: string
description: Human-readable validation summary.
errors:
type: object
description: Validation messages keyed by public request field, with an array of human-readable strings for each field.
additionalProperties:
type: array
items:
type: string
unevaluatedProperties: false
'401':
description: Authentication required
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'402':
description: Insufficient balance
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'409':
description: Request conflict
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'429':
description: Api token credit limit exceeded or Rate limited
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'503':
description: Service unavailable
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'504':
description: Timeout error
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
/api/v1/qwen_image/edit_image/{id}:
get:
tags:
- Qwen Image
summary: Retrieve Qwen Image Edit-Image task
description: Create an asynchronous task through the Qwen Image edit image endpoint.
operationId: task_endpoint_qwen_image_edit_image_retrieve
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Polling processing or Polling completed or Polling failed
content:
application/json:
schema:
oneOf:
- type: object
required:
- id
- status
properties:
id:
type: string
status:
type: string
enum:
- processing
unevaluatedProperties: false
- type: object
required:
- id
- status
- images
- usage
properties:
id:
type: string
status:
type: string
enum:
- completed
images:
type: array
items:
type: object
required:
- url
properties:
url:
type: string
x-runapi-generated-media: true
unevaluatedProperties: false
usage:
type: object
properties:
cost:
type: number
unevaluatedProperties: false
unevaluatedProperties: false
- type: object
required:
- id
- status
- error
properties:
id:
type: string
status:
type: string
enum:
- failed
error:
type: string
unevaluatedProperties: false
'401':
description: Polling authentication required
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'404':
description: Task not found
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
/api/v1/qwen_image/remix_image:
post:
tags:
- Qwen Image
summary: Qwen Image Remix-Image
description: Create an asynchronous task through the Qwen Image remix image endpoint.
operationId: task_endpoint_qwen_image_remix_image
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
model:
type: string
description: RunAPI model identifier.
const: qwen-image-remix-image
prompt:
type: string
maxLength: 5000
minLength: 1
description: Prompt describing the requested remix.
source_image_url:
type: string
description: Public HTTPS source image URL (JPEG, PNG, or WebP; maximum 10 MB).
strength:
type: number
maximum: 1
minimum: 0
default: 0.8
description: Creative deviation from the source image, from 0 (faithful) to 1 (creative).
output_format:
type: string
enum:
- png
- jpeg
default: png
description: Output image format.
seed:
type: integer
description: Integer seed for reproducible results.
callback_url:
type: string
description: Webhook URL for asynchronous task updates.
additionalProperties: false
required:
- model
- prompt
- source_image_url
responses:
'202':
description: Create acceptance
content:
application/json:
schema:
type: object
required:
- id
- status
properties:
id:
type: string
status:
type: string
enum:
- processing
task_replayed:
type: boolean
unevaluatedProperties: false
'400':
description: Invalid request
content:
application/json:
schema:
oneOf:
- type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
- type: object
required:
- error
- errors
properties:
error:
type: string
description: Human-readable validation summary.
errors:
type: object
description: Validation messages keyed by public request field, with an array of human-readable strings for each field.
additionalProperties:
type: array
items:
type: string
unevaluatedProperties: false
'401':
description: Authentication required
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'402':
description: Insufficient balance
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'409':
description: Request conflict
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'429':
description: Api token credit limit exceeded or Rate limited
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'503':
description: Service unavailable
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'504':
description: Timeout error
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
/api/v1/qwen_image/remix_image/{id}:
get:
tags:
- Qwen Image
summary: Retrieve Qwen Image Remix-Image task
description: Create an asynchronous task through the Qwen Image remix image endpoint.
operationId: task_endpoint_qwen_image_remix_image_retrieve
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Polling processing or Polling completed or Polling failed
content:
application/json:
schema:
oneOf:
- type: object
required:
- id
- status
properties:
id:
type: string
status:
type: string
enum:
- processing
unevaluatedProperties: false
- type: object
required:
- id
- status
- images
- usage
properties:
id:
type: string
status:
type: string
enum:
- completed
images:
type: array
items:
type: object
required:
- url
properties:
url:
type: string
x-runapi-generated-media: true
unevaluatedProperties: false
usage:
type: object
properties:
cost:
type: number
unevaluatedProperties: false
unevaluatedProperties: false
- type: object
required:
- id
- status
- error
properties:
id:
type: string
status:
type: string
enum:
- failed
error:
type: string
unevaluatedProperties: false
'401':
description: Polling authentication required
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'404':
description: Task not found
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
/api/v1/qwen_image/text_to_image:
post:
tags:
- Qwen Image
summary: Qwen Image Text-to-Image
description: Create an asynchronous task through the Qwen Image text to image endpoint.
operationId: task_endpoint_qwen_image_text_to_image
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
model:
type: string
description: RunAPI model identifier.
const: qwen-image-text-to-image
prompt:
type: string
maxLength: 5000
minLength: 1
description: Image generation prompt.
aspect_ratio:
type: string
enum:
- '1:1'
- '3:4'
- '9:16'
- '4:3'
- '16:9'
default: '1:1'
description: Output aspect ratio.
seed:
type: integer
description: Integer seed for reproducible results.
output_format:
type: string
enum:
- png
- jpeg
default: png
description: Output image format.
callback_url:
type: string
description: Webhook URL for asynchronous task updates.
additionalProperties: false
required:
- model
- prompt
responses:
'202':
description: Create acceptance
content:
application/json:
schema:
type: object
required:
- id
- status
properties:
id:
type: string
status:
type: string
enum:
- processing
task_replayed:
type: boolean
unevaluatedProperties: false
'400':
description: Invalid request
content:
application/json:
schema:
oneOf:
- type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
- type: object
required:
- error
- errors
properties:
error:
type: string
description: Human-readable validation summary.
errors:
type: object
description: Validation messages keyed by public request field, with an array of human-readable strings for each field.
additionalProperties:
type: array
items:
type: string
unevaluatedProperties: false
'401':
description: Authentication required
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'402':
description: Insufficient balance
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'409':
description: Request conflict
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'429':
description: Api token credit limit exceeded or Rate limited
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'503':
description: Service unavailable
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'504':
description: Timeout error
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
/api/v1/qwen_image/text_to_image/{id}:
get:
tags:
- Qwen Image
summary: Retrieve Qwen Image Text-to-Image task
description: Create an asynchronous task through the Qwen Image text to image endpoint.
operationId: task_endpoint_qwen_image_text_to_image_retrieve
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Polling processing or Polling completed or Polling failed
content:
application/json:
schema:
oneOf:
- type: object
required:
- id
- status
properties:
id:
type: string
status:
type: string
enum:
- processing
unevaluatedProperties: false
- type: object
required:
- id
- status
- images
- usage
properties:
id:
type: string
status:
type: string
enum:
- completed
images:
type: array
items:
type: object
required:
- url
properties:
url:
type: string
x-runapi-generated-media: true
unevaluatedProperties: false
usage:
type: object
properties:
cost:
type: number
unevaluatedProperties: false
unevaluatedProperties: false
- type: object
required:
- id
- status
- error
properties:
id:
type: string
status:
type: string
enum:
- failed
error:
type: string
unevaluatedProperties: false
'401':
description: Polling authentication required
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
'404':
description: Task not found
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
unevaluatedProperties: false
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API token