Text-to-image
Use thegenerate_media tool with a prompt and model ID. Call models (action: list) first to find available model IDs:
models to find a model, then generate_media with the chosen model ID and prompt.
Reference-based generation
Pass image URLs or asset IDs in theattachments parameter of generate_media. The model uses the attachment as a visual reference while composing the new scene:
Generation parameters
Thegenerate_media tool accepts:
Browsing models
Themodels tool supports list, search, get, and recommend actions. Use recommend with a natural language description of your use case to get ranked suggestions:
Batch generation
Generate multiple variations in a single call by settingnum_variations:
Prompt engineering tips
When passing a
brand_library_id, the model pulls brand colors, fonts, and style references automatically. Combine this with a descriptive prompt for brand-consistent output.Related
- Image Generation (User Guide) — in-app generation workflow
- MCP Server — full MCP tool reference