Generate AI photos
generate_photoGenerate AI photos from face images, using a preset theme or a custom prompt. Costs 100 credits per photo. Upload the face photos with upload_image first, and find theme slugs with browse_themes.
Requires a connected Photo AI Studio account. Calling this tool starts the sign-in flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | themed uses a preset style, custom uses your prompt | |
| style | No | Style override, for example "realistic" | |
| gender | Yes | Gender category for theme selection | |
| images | Yes | CDN URLs of face photos (1-9), from upload_image | |
| prompt | No | Custom prompt, required when type is custom | |
| category | No | Theme slug from browse_themes, required when type is themed | |
| num_images | No | Number of variations to generate (1-4) | |
| aspect_ratio | No | Output aspect ratio | |
| wait_for_result | No | Wait up to 55 seconds for the result before returning. Defaults to false: the tool returns a prediction_id immediately and you poll get_prediction, which is the reliable pattern for photos and videos. |