Ludo.ai · Schema

GenerateImagePayload

Payload for generating an image from text prompt

Artificial IntelligenceAsset GenerationGame DesignGame DevelopmentGame Asset GenerationAI ArtSprite Sheets

Properties

Name Type Description
image_type string What kind of image to generate.
prompt string Text description of the image to generate. The more detailed the prompt, the more accurate the image will be.
art_style string Visual art style for the sprite (e.g., "Pixel Art", "Cartoonish", "Realistic").
perspective string Camera angle/view for the sprite (e.g., "Side view", "Front view", "Isometric").
aspect_ratio string Aspect ratio of the output image.
n integer Number of image variations to generate
augment_prompt boolean Rewrites your prompt behind the scenes into the form the model works best with. Leave it on (the default). Turning it off does not give you more control - it usually gives worse results. Do not disabl
request_id string Optional client-provided identifier, unique per request. Re-sending the same request_id returns the existing job instead of generating again. Also usable as the request_id filter of listGenerations.
async boolean Defaults to true: the call returns 202 immediately with a job id to poll with getApiJob. Set false for a synchronous response (deprecated but supported): the call then blocks until the result is ready
View JSON Schema on GitHub

JSON Schema

ludo-ai-generate-image-payload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ludo-ai/main/json-schema/ludo-ai-generate-image-payload-schema.json",
  "title": "GenerateImagePayload",
  "description": "Payload for generating an image from text prompt",
  "x-generated": "2026-10-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ludo-ai-openapi.json#/components/schemas/GenerateImagePayload",
  "type": "object",
  "required": [
    "image_type",
    "prompt"
  ],
  "properties": {
    "image_type": {
      "type": "string",
      "description": "What kind of image to generate.",
      "enum": [
        "generic",
        "screenshot",
        "art",
        "asset",
        "sprite",
        "sprite-vfx",
        "sprite-tiling-horizontal",
        "sprite-tiling-vertical",
        "icon",
        "logo",
        "ui_asset",
        "fixed_background",
        "side_scrolling_background",
        "vertical_scrolling_background",
        "parallax_layer",
        "texture",
        "tile",
        "item-icon",
        "portrait",
        "card-art",
        "splash",
        "3d"
      ]
    },
    "prompt": {
      "type": "string",
      "description": "Text description of the image to generate. The more detailed the prompt, the more accurate the image will be."
    },
    "art_style": {
      "type": "string",
      "description": "Visual art style for the sprite (e.g., \"Pixel Art\", \"Cartoonish\", \"Realistic\").",
      "enum": [
        "Any style",
        "Cel-Shaded",
        "Inked Painterly",
        "Illustration",
        "Western Cartoon",
        "Anime/Manga",
        "Chibi",
        "8-Bit",
        "16-Bit",
        "32-Bit",
        "Hi-Bit",
        "Retro 2D",
        "Hand-Painted",
        "Digital Painting",
        "Comic Book",
        "Block Print",
        "Sketch",
        "Watercolor",
        "Stylized 3D",
        "Pixar Style",
        "Low Poly",
        "Photorealistic 3D",
        "Voxel Art",
        "Retro 3D",
        "Flat Design",
        "Minimalist",
        "Silhouette",
        "Noir",
        "Neon",
        "Glitch Art",
        "Claymation",
        "Paper Craft",
        "Textile"
      ]
    },
    "perspective": {
      "type": "string",
      "description": "Camera angle/view for the sprite (e.g., \"Side view\", \"Front view\", \"Isometric\").",
      "enum": [
        "Any perspective",
        "Side-Scroll",
        "Isometric",
        "High Angle",
        "Top-Down",
        "2.5D",
        "First-Person",
        "Third-Person",
        "Over-the-Shoulder",
        "Free Camera"
      ]
    },
    "aspect_ratio": {
      "type": "string",
      "description": "Aspect ratio of the output image.",
      "enum": [
        "default",
        "ar_1_1",
        "ar_4_3",
        "ar_16_9",
        "ar_19_9",
        "ar_3_4",
        "ar_9_16",
        "ar_9_19"
      ]
    },
    "n": {
      "type": "integer",
      "format": "integer",
      "default": 1,
      "minimum": 1,
      "maximum": 8,
      "description": "Number of image variations to generate"
    },
    "augment_prompt": {
      "type": "boolean",
      "default": true,
      "description": "Rewrites your prompt behind the scenes into the form the model works best with. Leave it on (the default). Turning it off does not give you more control - it usually gives worse results. Do not disable it unless you really know what you are doing and have tested your prompts extensively."
    },
    "request_id": {
      "type": "string",
      "description": "Optional client-provided identifier, unique per request. Re-sending the same request_id returns the existing job instead of generating again. Also usable as the request_id filter of listGenerations."
    },
    "async": {
      "type": "boolean",
      "default": true,
      "description": "Defaults to true: the call returns 202 immediately with a job id to poll with getApiJob. Set false for a synchronous response (deprecated but supported): the call then blocks until the result is ready."
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ludo-ai-generate-image-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.