Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/wanapis-images-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
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 Specification
openapi: 3.2.0
info:
title: WanAPIs Unified AI Images API
version: '2026-05-27'
summary: OpenAI-compatible AI gateway aggregating GPT, Claude, Gemini, DeepSeek and other LLM, image, video, and audio model providers behind a single key.
description: WanAPIs (https://wanapis.com) is a developer-focused AI API gateway.
termsOfService: https://wanapis.com/
contact:
name: WanAPIs Support
email: support@wanapis.com
url: https://wanapis.com/
license:
name: Proprietary
url: https://wanapis.com/
servers:
- url: https://api.wanapis.com/v1
description: WanAPIs production OpenAI-compatible base URL.
security:
- bearerAuth: []
tags:
- name: Images
description: Image generation and editing.
paths:
/images/generations:
post:
tags:
- Images
operationId: createImage
summary: Generate an image
description: 'Generate images from a text prompt. OpenAI-compatible shape. WanAPIs
routes the request to the selected image model (DALL·E, Stable
Diffusion, Midjourney-compatible endpoints, etc.). Long-running jobs
return a task ID — see `/tasks/{task_id}`.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ImageGenerationRequest'
responses:
'200':
description: Image generation result (sync or async task handle).
content:
application/json:
schema:
$ref: '#/components/schemas/ImageResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/UpstreamFailure'
/images/edits:
post:
tags:
- Images
operationId: editImage
summary: Edit an image
description: Apply an edit to a supplied image using a text prompt and optional mask. Multipart form upload, OpenAI-compatible.
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/ImageEditRequest'
responses:
'200':
description: Edited image (sync or async task handle).
content:
application/json:
schema:
$ref: '#/components/schemas/ImageResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/UpstreamFailure'
components:
responses:
UpstreamFailure:
description: Upstream provider failure (500–504). Retry with exponential backoff; WanAPIs may auto-failover to a configured channel.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Rate limit or quota exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
ImageGenerationRequest:
type: object
required:
- model
- prompt
properties:
model:
type: string
prompt:
type: string
n:
type: integer
default: 1
size:
type: string
description: e.g. 1024x1024
quality:
type: string
enum:
- standard
- hd
style:
type: string
enum:
- vivid
- natural
response_format:
type: string
enum:
- url
- b64_json
user:
type: string
Error:
type: object
properties:
error:
type: object
properties:
message:
type: string
type:
type: string
code:
type: string
param:
type: string
nullable: true
ImageResponse:
type: object
properties:
created:
type: integer
data:
type: array
items:
type: object
properties:
url:
type: string
b64_json:
type: string
revised_prompt:
type: string
task_id:
type: string
description: Present when the upstream model runs the job asynchronously; poll via `/tasks/{task_id}`.
ImageEditRequest:
type: object
required:
- model
- image
- prompt
properties:
model:
type: string
image:
type: string
format: binary
mask:
type: string
format: binary
prompt:
type: string
n:
type: integer
size:
type: string
response_format:
type: string
enum:
- url
- b64_json
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API Key
description: 'Authenticate every request with `Authorization: Bearer <wanapis_api_key>`.
Keys are issued per project in the WanAPIs dashboard and may be scoped
with quota and model availability.
'