{
"opencollection": "1.0.0",
"info": {
"name": "Firefly API",
"version": "3.0.0"
},
"request": {
"auth": {
"type": "apikey",
"key": "x-api-key",
"value": "{{x-api-key}}",
"placement": "header"
}
},
"items": [
{
"info": {
"name": "Common Operations",
"type": "folder"
},
"items": [
{
"info": {
"name": "Generate images",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://firefly-api.adobe.io/v3/images/generate-async",
"headers": [
{
"name": "x-model-version",
"value": ""
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Generate images based on a text prompt. You may also include a reference image and Firefly will try to mimic the characteristics, such as color scheme, lighting, layout of objects in the image, etc."
},
{
"info": {
"name": "Generate images with Image5",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://firefly-api.adobe.io/v4/images/generate-async",
"headers": [
{
"name": "x-model-version",
"value": ""
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Generate images asynchronously using Firefly's Image5 model. When referenceBlobs is included in the request, omit aspectRatio or set it to auto."
},
{
"info": {
"name": "Generate similar images",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://firefly-api.adobe.io/v3/images/generate-similar-async",
"headers": [
{
"name": "x-model-version",
"value": ""
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Generate similar images based on a reference image that you provide as a parameter."
},
{
"info": {
"name": "Expand image",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://firefly-api.adobe.io/v3/images/expand-async",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Change the aspect ratio or size of an image to expand it. Optionally, provide a text prompt to generate additional imagery for the expansion."
},
{
"info": {
"name": "Fill image",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://firefly-api.adobe.io/v3/images/fill-async",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Generates a fill in an area of an image based on a text prompt. A mask defines the area of the image to be filled."
},
{
"info": {
"name": "Generate video",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://firefly-api.adobe.io/v3/videos/generate",
"headers": [
{
"name": "x-model-version",
"value": ""
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Generate a five second video using a text prompt."
},
{
"info": {
"name": "Retrieve custom models",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://firefly-api.adobe.io/v3/custom-models",
"headers": [
{
"name": "x-user-token",
"value": ""
},
{
"name": "x-request-id",
"value": ""
}
],
"params": [
{
"name": "sortBy",
"value": "",
"type": "query",
"description": "A sorting option for the response list. For a reverse sort, use `-` (e.g., `-modifiedDate`). Multi-vector sorting is not currently supported."
},
{
"name": "start",
"value": "",
"type": "query",
"description": "The first result to include in a paginated response. Required if a `limit` is specified."
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "The number of custom models to return in a paginated response."
},
{
"name": "publishedState",
"value": "",
"type": "query",
"description": "This filters custom models by published state."
}
]
},
"docs": "Retrieve the custom models for a user."
},
{
"info": {
"name": "Upload image",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://firefly-api.adobe.io/v2/storage/image"
},
"docs": "Upload source image or mask for image-to-image operations, such as fill, expand, or upscale. This API returns an identifier that is used to refer to uploaded content. The uploaded assets will be valid for 7 days from the date you upload them."
}
]
},
{
"info": {
"name": "Composite Operations",
"type": "folder"
},
"items": [
{
"info": {
"name": "Generate object composite",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://firefly-api.adobe.io/v3/images/generate-object-composite-async",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Combines your image and images generated by Firefly to create an image composite, or scene. The images that Firefly generates are based on a text prompt that you provide. You can upload an image with or without an image mask, such as a product photo, but for a successful result one of the following conditions must be true: