Generate an image with your own account
image_generateGenerates and saves full-quality images into a project using multiple AI providers without API keys, with automatic fallback if a provider fails.
Instructions
Generates one image (Flow and Higgsfield can return several) and saves the full-quality file inside the project. Providers: codex (ChatGPT plan via Codex CLI, most reliable), chatgpt (chatgpt.com), flow (Google Flow, Nano Banana 2, usually 0 credits), gemini (gemini.google.com), higgsfield (official CLI, costs credits: quote first), plus any JSON-defined site (call providers_list). Without output_path the file goes to /.ai-media//. Look at the result yourself before using it. Pass fallback_providers to try others in order if the first one fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Flow only | |
| model | No | Higgsfield only, e.g. nano_banana_2, gpt_image_2_5 | |
| aspect | No | ||
| prompt | Yes | ||
| quality | No | Flow only | original |
| provider | Yes | ||
| overwrite | No | ||
| max_credits | No | Higgsfield only: quote first, then cap | |
| output_path | No | Relative to the project, e.g. public/images/hero.png | |
| reference_images | No | Codex only: up to 4 images inside the project to use as references, for example a clear photo of the person whose face must stay recognisable. Only use a photo of someone who has said yes (the user's own, or a person who agreed). The description says what to keep and what to change. | |
| fallback_providers | No | Try these in order if the first provider fails (for example a site redesign broke a selector). Each attempt and why it failed is reported in the result. |