Prepare the Brand and prompt
Use an existing Brand whose status isready, or create a Brand and wait for it. The stable Brand ID is called brandSessionId in the API and brand_session_id in MCP.
Describe what should appear in the image:
- the subject and important objects;
- the composition or framing;
- the medium, such as a photograph, illustration, 3D render, mockup, or poster; and
- any text or product detail that must be present.
Start generation
- API
- MCP
Send Bloom returns
POST /images/generations:202 Accepted with one or more image IDs:Retrieve the result
- API
- MCP
Retrieve one image with For several image IDs, use
GET /images/{id}?wait=true:GET /images?ids=...&wait=true to collect them together.completed or failed, and present only completed results with an image URL.
The generated API reference and the live MCP schema returned by tools/list define the exact contracts.
Use reference images
References can ground the generation in a specific product, person, composition, or visual example. With the API, pass up to ten uploaded or generated image IDs asreferenceImageIds. Use the image upload or Brand Library search endpoints to obtain those IDs.
With MCP, use bloom_search_user_images to search the Brand Library or bloom_upload_image to add an image by URL. Pass the selected IDs as reference_image_ids to bloom_generate_image.
For each generation, include only the references relevant to that image and describe how each should be used. Refer to a reference by its content, not its position in the input list.
Use reference ads
MCP can search Bloom’s curated reference-ad library withbloom_find_reference_ads. After the user or agent selects a result, pass its ID to bloom_generate_image as recreate_ad_id to adapt that composition to the Brand.
prompt is optional when recreate_ad_id is present and can provide extra instructions. The reference ad determines the aspect ratio. This workflow is currently exposed through MCP, not the public REST generation schema.
Choose a model
Model availability and exact behavior are defined by the live API or MCP schema. Avoid building orchestration around estimated completion times.
Choose size, ratio, and variants
2Kis the default and costs 1 credit per image.4Kcosts 2 credits per image and may depend on plan entitlement.- Supported aspect ratios are
1:1,2:3,3:2,3:4,4:3,4:5,5:4,9:16,16:9, and21:9. - One request can create 1–5 variants. Each variant costs the normal per-image amount.
Handle failures
- A Brand that is not ready returns
BRAND_NOT_READY; wait on the Brand before retrying. - Missing or inaccessible references return a reference-image error; remove or replace the invalid ID.
- A
402billing response distinguishes exhausted credits from a paused subscription by its error code. - An accepted operation can still return an image with
status: "failed"; inspect its failure information before retrying.