Generate or edit an image
generate_imageTurn text prompts into images, or edit and combine supplied photos, returning the result inline or as a URL in MCP clients.
Instructions
Text to image, or an edit / combination when images are given. Returns the image (inline when small) and its URL. The free tier runs studio-image-v1 without a key; other models need TANVO_API_KEY. Credits are charged per run and refunded if it fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the image (usually under a minute) | |
| model | No | Model id from list_models | studio-image-v1 |
| aspect | No | 1:1, 16:9, 9:16, 4:3, 3:4 … as the model allows (default: the model's) | |
| format | No | ||
| images | No | Photos as local file paths or public https URLs. Local files are uploaded for you. | |
| prompt | Yes | What to make: subject, setting, light and style. For edits, say what to change and what to keep. | |
| save_to | No | Optional folder to download the results into (defaults to TANVO_OUTPUT_DIR when set) | |
| resolution | No | 1K, 2K or 4K where the model supports it (default: the model's) |