instant_headshot_run_headshot_generation
Generate AI professional headshots from reference photos with configurable style, background, attire, and quality. Supports custom prompts and up to 4 variations.
Instructions
Generates AI professional headshots from reference photos using Gemini Pro Image. Supports configurable style, background, attire, count (1-4), quality (standard 1K / high 2K), aspect ratio, and custom prompts. Includes 3-layer content moderation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photos_json | Yes | JSON array of photo objects: [{"base64": "...", "mimeType": "image/jpeg"}]. Up to 3 photos. | |
| style | Yes | professional | |
| background | Yes | studio_white | |
| attire | Yes | keep_original | |
| count | No | How many variation images to generate (1-4). | 1 |
| quality | No | Standard: 1K output, ~15s/image. High: 2K output, ~30s/image. | standard |
| aspect_ratio | No | 1:1 | |
| custom_prompt | No | Optional: override the auto-generated prompt. Pose angles are appended per variation. | |
| output_variable_name | Yes | Reference results as {{headshot_result.images}}, {{headshot_result.run_id}}, etc. | headshot_result |