Generate product photos, marketing visuals, and design concepts by describing what you want. Attach reference images for more control. All results are saved to your Pixa workspace.Documentation Index
Fetch the complete documentation index at: https://pixa.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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:
| Parameter | Description | Example |
|---|---|---|
prompt | The text description (required) | "product photo of sneakers on marble" |
model | Model ID for generation (required) | nano-banana-2 |
aspect_ratio | Output aspect ratio | 1:1, 16:9, 4:3, 9:16 |
media_type | image or video | image |
output_format | File format | png, jpg, webp |
num_variations | Number of variations to produce | 1-4 |
attachments | Reference image URLs or asset IDs | — |
brand_library_id | Brand library for brand-consistent output | lib_abc123 |
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
| Technique | Example |
|---|---|
| Be specific about the subject | ”white ceramic mug” instead of “a mug” |
| Describe the environment | ”on a rustic wooden table, blurred garden background” |
| Specify lighting | ”soft natural light from the left, gentle shadows” |
| Set the mood or style | ”minimal, editorial, high-end product photography” |
| Mention camera details | ”shot at eye level, shallow depth of field” |
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