Cloudinary Generation API

Generate images from text prompts using AI models.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/generate/{cloud_name}/text_to_image Generate an image from a text prompt · Generate an image from a text prompt #
Ask an LLM
“How do I create a photo or logo from a text description?”
“Can I get a generated image back as a temporary link without saving it?”
Tell an agent
Generate an image of {prompt} in {cloud_name}.
Create a {format} image from the prompt {prompt} using model {model}.
POST /v2/generate/{cloud_name}/image_to_image Edit or combine images with a text prompt · Edit or combine images with a text prompt #
Ask an LLM
“How do I change the background of an existing photo with AI?”
“Can I combine several reference images into one edited image?”
Tell an agent
Edit {reference_images} in {cloud_name} with the prompt {prompt}.
Restyle reference images {reference_images} using prompt {prompt} and model {model}.
POST /generate/{cloud_name}/text_to_image Generate an image from a text prompt (legacy path) · Generate an image from a text prompt #
Ask an LLM
“Is there an older path that still generates an image from text?”
“Can I generate a logo from a description using the legacy generate endpoint?”
Tell an agent
Generate an image of {prompt} on the legacy path in {cloud_name}.
Use the legacy generate endpoint to create a {format} image from {prompt}.
POST /generate/{cloud_name}/image_to_image Edit or combine images with a text prompt (legacy path) · Edit or combine images with a text prompt #
Ask an LLM
“Is there an older path that still edits images with a prompt?”
“Can I combine reference images through the legacy image-to-image endpoint?”
Tell an agent
Edit {reference_images} with prompt {prompt} on the legacy path in {cloud_name}.
Use the legacy image-to-image endpoint to combine {reference_images} with prompt {prompt}.

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

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudinary:cloudinary-generation-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

cloudinary-generation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary Generation API
  x-refined-note:
  - x-cld-module-context differs across the merged source definitions and was not carried
  - x-cld-module-name differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Generation across 4 of this provider''s published API definitions: cloudinary-api-schema.yml, cloudinary-asset-management-openapi.yml, cloudinary-media-generation-openapi.yml, cloudinary-platform-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{region}.cloudinary.com
  description: Regional API endpoints for optimal performance.
  variables:
    region:
      default: api
      description: Regional endpoint selection
      enum:
      - api
      - api-eu
      - api-ap
- url: https://{host}
  description: Custom domains for enterprise deployments.
  variables:
    host:
      default: api.cloudinary.com
      description: API host domain.
- url: https://api.cloudinary.com/v2
  description: Cloudinary API.
tags:


# --- truncated at 32 KB (104 KB total) ---
# Full source: https://artifacts.apis.io/cloudinary/openapi/cloudinary-generation-api-openapi.yml