capabilities.work

Firefly Text to Image with Style Reference

A 2-step recipe with Adobe Creative Cloud. We can help you get access.

Recipe · 2 steps

Firefly Text to Image with Style Reference

Upload a style reference and generate images from a text prompt.

  1. Upload the reference image to Firefly temporary storage and capture the returned upload ID for use as a style reference.
  2. Generate image variations from the text prompt, supplying the uploaded image as a style reference so the output inherits its look.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer access token from the Adobe IMS token endpoint.
  • apiKey: Client ID (x-api-key) from the Adobe Developer Console project.
  • referenceImage: Binary contents of the reference image to upload (PNG/JPEG/WebP).
  • contentType: MIME type of the reference image being uploaded.
  • prompt: Text description of the image to generate.
  • negativePrompt: Text describing elements to exclude from generation.
  • numVariations: Number of image variations to generate (1-4).
For your developer

Arazzo workflow adobe-creative-cloud:firefly-text-to-image-generate, 2 operations: uploadImage → generateImages. Specs on APIs.io.