Adobe Firefly API

Generate and edit images using generative AI models through a RESTful API.

GitHub OpenAPI
Business capability
Generative Media AE-110.20

Operations 14

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 /v3/images/generate-async Generate an image from a text prompt · Generate images #
Ask an LLM
“How do I generate an image from a text prompt with Firefly?”
“Can I generate several variations of a prompt at once?”
Tell an agent
Generate an image from the prompt {prompt}.
Generate {numVariations} variations of {prompt} in {size}.
POST /v4/images/generate-async Generate images with Image5 · Generate images with Image5 #
Ask an LLM
“Can I generate images with the Image5 model?”
“Does Image5 support reference images and aspect ratios?”
Tell an agent
Generate an image with Image5 using the prompt {prompt}.
Generate an Image5 image of {prompt} at {aspectRatio}.
POST /v3/images/generate-similar-async Generate images similar to a reference · Generate similar images #
Ask an LLM
“How do I create several new images that look like a photo I upload?”
“Can I ask for a specific number of variants from one reference image?”
Tell an agent
Generate {numVariations} images similar to {image} and save the request as {request}.
Create a batch of image variants from {image}.
POST /v3/images/expand-async Expand an image's size or aspect ratio · Expand image #
Ask an LLM
“How do I make an image wider or taller?”
“Can I expand an image with a text prompt describing the new area?”
Tell an agent
Expand {image} to {size}.
Expand {image} with the prompt {prompt}.
POST /v3/images/fill-async Fill a masked area of an image · Fill image #
Ask an LLM
“How do I fill a hole or missing area in an image?”
“Can I fill a masked region with a text prompt?”
Tell an agent
Fill the masked area of {image} with {mask}.
Fill {mask} on {image} with the prompt {prompt}.
POST /v3/images/generate-object-composite-async Composite a generated object into an image · Generate object composite #
Ask an LLM
“How do I add a generated object into an existing image?”
“Can I place a generated object into a specific spot of an image?”
Tell an agent
Composite {prompt} into {image}.
Place {prompt} into {image} at {placement}.
POST /v3/images/precise-composite Precisely composite a background and object · Generate precise composite #
Ask an LLM
“How do I place a generated object onto a background with precise control?”
“Can I blend a generated object into a background with a blend factor?”
Tell an agent
Precisely composite {background} with {object}.
Composite {background} and {object} with blend {blend}.
POST /v3/images/adaptive-composite Adaptively composite a background and object · Generate adaptive composite #
Ask an LLM
“How do I place a generated object onto a background with adaptive harmonization?”
“Can I control shadow intensity when compositing an object?”
Tell an agent
Adaptively composite {background} with {object}.
Composite {background} and {object} with harmonization {harmonization} and shadow {shadowIntensity}.
POST /v3/images/upscale Upscale an image precisely · Upscale image #
Ask an LLM
“How do I upscale an image with the precise upsampler?”
“Can I choose the upscale factor for an image?”
Tell an agent
Upscale {image} with seeds {seeds}.
Upscale {image} by a factor of {upscaleFactor} using seeds {seeds}.
POST /v3/videos/generate Generate a five-second video from a prompt · Generate video #
Ask an LLM
“How do I generate a short video from a text prompt?”
“Can I generate a video from an image as well as a prompt?”
Tell an agent
Generate a video from the prompt {prompt}.
Generate a video of {prompt} at sizes {sizes}.
GET /v3/custom-models List my custom models · Retrieve custom models #
Ask an LLM
“Which custom models have I trained?”
“Can I list only published custom models?”
Tell an agent
List my custom models.
List custom models with published state {publishedState}.
POST /v2/storage/image Upload an image or mask for image operations · Upload image #
Ask an LLM
“How do I upload an image to use in fill or expand?”
“How long are uploaded assets kept before they expire?”
Tell an agent
Upload this image for image operations.
Upload a mask for an image-to-image operation.
GET /v3/status/{jobId} Check the status of an asynchronous job · Get job status #
Ask an LLM
“Has my image generation job finished?”
“Where do I get the result of an asynchronous job?”
Tell an agent
Check the status of job {jobId}.
Get the result of job {jobId}.
PUT /v3/cancel/{jobId} Cancel an asynchronous job · Cancel job #
Ask an LLM
“How do I cancel a generation job that's still running?”
“Can I stop an image or video job before it completes?”
Tell an agent destructive · confirm first
Cancel job {jobId}.
Stop the running job {jobId}.

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/adobe:adobe-firefly-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

adobe-firefly-openapi.yml Raw ↑
openapi: 3.1.0
info:
  version: 3.0.0
  title: Firefly API
  description: REST API for Adobe Firefly services including image generation, image alteration, image upscaling, video generation, and other related services.
servers:
- url: https://firefly-api.adobe.io
  description: Production server.
security:
- X-Api-Key: []
  AccessToken: []
tags:
- name: Common Operations
  description: Core Firefly API operations for generating and manipulating images and videos.
- name: Composite Operations
  description: 'Object composite image generation: prompt-based composite, precise composite, and adaptive composite endpoints.'
- name: Upscale
  description: Image upscaling with the precise upsampler.


# --- truncated at 32 KB (118 KB total) ---
# Full source: https://artifacts.apis.io/adobe/openapi/adobe-firefly-openapi.yml