post
https://platform.perso.ai/api/studio/v1/task/photoavatar/
Create a Photo Avatar task to animate a still image with audio.
Request Parameters
| Parameter | Required | Description |
|---|---|---|
agent | Yes | Agent identifier |
photoavatar_input_image_url | Yes | URL of the portrait image |
photoavatar_input_audio_url | Yes | URL of the audio file |
webhook_url | No | URL for completion callback |
webhook_retry | No | Number of webhook retry attempts |
webhook_retry_delay_sec | No | Delay between retries (seconds) |
Image Requirements
- Portrait/headshot images work best
- Clear frontal face view recommended
- Supported formats: JPG, PNG
Example
Select "PhotoAvatarRequestExample" or "PhotoAvatarRequestExampleWithWebhook" from the Examples dropdown.
