generate_photo
Generate AI photos from uploaded face images using 150+ themed styles or custom prompts. Select gender and category to apply a theme or provide a custom prompt for personalized results.
Instructions
Generate AI photos from face images using 150+ themed styles or custom prompts. Costs 100 credits per photo. Requires uploading face images first via upload_image. Use browse_themes to discover available categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| images | Yes | CDN URLs of face photos (1-9), obtained from upload_image | |
| gender | Yes | Gender category for theme selection | |
| category | No | Theme slug from browse_themes (required for themed generation) | |
| type | No | Generation type: themed (use a preset style) or custom (use a prompt) | |
| prompt | No | Custom prompt (required when type=custom) | |
| num_images | No | Number of variations to generate (1-4) | |
| style | No | Style override (e.g. "realistic") | |
| aspect_ratio | No | Output aspect ratio | |
| wait_for_result | No | If true (default), waits for the result. If false, returns prediction_id immediately. |