Experience our talking photo technology in action by exploring our interactive demo on GitHub: AKool Talking Photo Demo.
API Endpoints
Talking Photo Operations
- Create By Talking Photo - Create animated video from photo and audio
- Get Video Info Result - Retrieve talking photo video results by ID
Getting Started
Basic Workflow
-
Create Talking Photo Video:
- Prepare your talking photo image URL
- Prepare your audio URL
- Optionally provide prompt
- Call the Create By Talking Photo API with your resources
-
Check Results:
- Use the Get Video Info Result API to check the status of your video
- Download the result URL when the status is “Success” (video_status = 3)
Response Code Description
Please note that if the value of the response code is not equal to 1000, the request
has failed or encountered an error.
Talking Photo Status Codes
When checking results, thevideo_status field indicates the current state:
Best Practices
Image Requirements
- Quality: Use high-resolution images for better results
- Face Visibility: Ensure faces are clearly visible and not obscured
- Lighting: Well-lit images produce better talking photo results
- Angle: Frontal or slight angle faces work best
Audio Requirements
- Quality: Use clear, high-quality audio files
- Format: Standard audio formats (MP3 recommended)
- Duration: Audio duration determines video length
API Usage Tips
- Webhook: Use the
webhookUrlparameter to receive notifications when processing is complete - Prompt: Use the
promptparameter to control hand gestures for more natural-looking videos - Resolution: Choose appropriate resolution (720 or 1080) based on your needs - higher resolution may take longer to process
- Result Cleanup: Save generated videos promptly as they expire after 7 days
Common Use Cases
Basic Talking Photo Video
Create a simple talking photo video from an image and audio:Talking Photo with Prompt
Use theprompt parameter to control hand gestures for professional presentations: