| name | adobe-core-workflow-a |
| description | Execute Adobe Firefly Services workflow: AI image generation, generative fill,
and expand image using the Firefly v3 API.
Use when generating images from prompts, filling or expanding images with AI,
or building creative automation pipelines.
Trigger with phrases like "adobe firefly", "generate image adobe",
"firefly text to image", "adobe AI image", "generative fill".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Grep |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","design","adobe"] |
| compatibility | Designed for Claude Code |
Adobe Core Workflow A — Firefly Services
Overview
Primary creative workflow using Adobe Firefly v3 APIs: text-to-image generation, generative fill (inpainting), and image expansion (outpainting). These are the most common Firefly Services operations for marketing asset automation.
Prerequisites
- Completed
adobe-install-auth with Firefly API scopes (firefly_api,ff_apis)
@adobe/firefly-apis installed, or direct REST access
- Pre-signed cloud storage URLs for input/output images (S3, Azure Blob, or Dropbox)
Instructions
Step 1: Text-to-Image Generation (Synchronous)
import { getAccessToken } from '../adobe/client';
interface FireflyGenerateOptions {
prompt: string;
negativePrompt?: string;
width?: number;
height?: number;
n?: number;
contentClass?: 'art' | 'photo';
style?: {
presets?: string[];
strength?: number;
};
}
interface FireflyOutput {
outputs: Array<{
image: { url: string };
seed: number;
}>;
}
(): <> {
token = ();
: <, > = {
: opts.,
: opts. || ,
: { : opts. || , : opts. || },
: opts. || ,
};
(opts.) body. = opts.;
(opts.?.) {
body. = { : opts.. };
}
response = (, {
: ,
: {
: ,
: process..!,
: ,
},
: .(body),
});
(!response.) {
err = response.();
();
}
response.();
}