Edit in GitHubLog an issue

Custom Models

Use Firefly's Custom Models API to generate brand-aligned image variations at scale. This page explains concepts relevant to custom models.

Overview

With custom models, you can capture and replicate distinctive brand aesthetics, characters, objects, or compositional arrangements. These models are trained and referenced when generating new images, helping to scale brand-consistent visuals.

Training modes

Custom models can be set to learn different aspects of visual design:

  • Subject Models: These focus on representing specific characters, products, or objects. For example, a subject model ensures that your brand mascot is depicted accurately in any scenario.

  • Style Models: These emphasize aesthetic qualities like color palettes, patterns, brush stroke techniques, or illustrative cues, ensuring that all generated visuals share a consistent, recognizable style aligned with your brand's look and feel.

Asset IDs

Custom models are assets hosted securely by Adobe, offering easy organization, versioning, and reuse. Each custom model has a unique asset ID.

Asset IDs allow you to manage multiple models by tracking updates and maintaining a clear record of styles, subjects, or structures captured in versions over time.

Provide the asset ID in your API requests so that the generated images include the appropriate model's learned characteristics.

Performing CM image generation

Perform CM inference by using the /v3/images/generate-async endpoint and including the header x-model-version. This specifies the model version used for generating the image.

Currently, the only supported value is image3_custom.

Request examples

Copied to your clipboard
curl --request POST 'https://firefly-api.adobe.io/v3/images/generate-async' \
--header 'x-model-version: image3_custom' \
...
--data "{
\"prompt\": \"An almond seed in a warm setting\",
\"customModelId\": \"$CUSTOM_MODEL_ID\"
}"
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.