Add Sound Effect to Photo Avatar
POST
https://api.konpro.ai/v1/photo_avatar/add_sound_effectAttach a sound effect to an existing photo avatar to enhance its audiovisual presentation.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
cURL Request
shell
curl --request POST \
--url https://api.konpro.ai/v1/photo_avatar/add_sound_effect \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: <your-api-key>' \
--data '{
"id": "photoAvatar123"
}'Request Body Parameters
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier of the photo avatar to add sound effect (required) |
Response
Response Structure
Confirms the addition of the sound effect or returns error details if the operation fails.
Sample Successful Response
json
{
"avatar_id": "photoAvatar123",
"sound_effect_added": true,
"status": "success",
"message": "Sound effect successfully added to photo avatar",
"timestamp": "2024-01-15T12:30:00Z"
}Notes
- Requires API authentication.
- The id must reference an existing photo avatar.
- Sound effects are automatically applied to the avatar.
- This operation enhances the audiovisual experience of the avatar.
- Sound effects are synchronized with avatar animations.
- Refer to Error Responses for error information.
Example Usage
Shell
curl --request POST \
--url https://api.konpro.ai/v1/photo_avatar/add_sound_effect \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: <your-api-key>' \
--data '{
"id": "photoAvatar123"
}'LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
400 - Bad Request
LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
400 - Bad Request