Properties
| Name | Type | Description |
|---|---|---|
| prompt | string | Text description of the image to generate or of the edit to apply. |
| n | object | Number of images to generate (1 to 10). Each returned image costs 50 tokens. |
| size | object | Optional output size as WIDTHxHEIGHT (for example 1024x1536) or auto. This sets aspect ratio, not exact pixel size. Omit for the default aspect ratio. |
| output_format | string | Encoding of the returned image. webp is smaller; png is lossless. |
| file_name | object | Optional account-relative storage path for the image. When n is greater than 1, an index is inserted before the extension (for example art/fox.webp becomes art/fox-1.webp and art/fox-2.webp). If omitt |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/vee3-io/json-schema/vee3-io-generate-image-request-schema.json",
"title": "GenerateImageRequest",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/vee3-io-image-generation-api-openapi.yml#/components/schemas/GenerateImageRequest",
"properties": {
"prompt": {
"type": "string",
"maxLength": 4000,
"title": "Prompt",
"description": "Text description of the image to generate or of the edit to apply."
},
"n": {
"anyOf": [
{
"type": "integer",
"maximum": 10.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "N",
"description": "Number of images to generate (1 to 10). Each returned image costs 50 tokens.",
"default": 1
},
"size": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"title": "Size",
"description": "Optional output size as WIDTHxHEIGHT (for example 1024x1536) or auto. This sets aspect ratio, not exact pixel size. Omit for the default aspect ratio."
},
"output_format": {
"type": "string",
"enum": [
"webp",
"png",
"jpeg"
],
"title": "Output Format",
"description": "Encoding of the returned image. webp is smaller; png is lossless.",
"default": "webp"
},
"file_name": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"title": "File Name",
"description": "Optional account-relative storage path for the image. When n is greater than 1, an index is inserted before the extension (for example art/fox.webp becomes art/fox-1.webp and art/fox-2.webp). If omitted, the file is stored under image-generation/ with a generated name."
}
},
"type": "object",
"required": [
"prompt"
]
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/vee3-io-generate-image-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.