Image Generation
imagesGenerate images from text prompts. Returns a hosted URL of the PNG and the same image as base64 (b64_json), with the aspect ratio and size used. Use to create a new picture from a description. To cut the background out of an existing image use bg-remove; to capture a web page use screenshot. Cost: 3 credits, charged only when a call succeeds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Image description. | |
| aspect_ratio | No | Aspect ratio. | 1:1 |