API For AI Talking Photo
June 12, 2025About 1 min
API For AI Talking Photo
Considerations
- Before using the API, make sure you have obtained the API key. Refer to the link below for instructions on how to obtain it. API For API Key Settings
 - All generated Video will be automatically deleted after 30 days. Please make sure to save the Video you need to your local storage in a timely manner.
 
Header Attributes
| Parameter | Description | 
|---|---|
| Authorization | Your API Key used for request authorization. | 
Credits Consumption
Create Job
Request Url
--request POST https://developer.remaker.ai/api/remaker/v1/talk-photo/create-jobBody Attributes
| Parameter | Type | Required | Description | 
|---|---|---|---|
| image | file[binary] | true | Upload a frontal face photo | 
| audio | file[binary] | true | Upload an audio for the talking photo. - Max length: 30 seconds - Max size: 5MB - File type: MP3 only  | 
demo
import requests
url = 'https://developer.remaker.ai/api/remaker/v1/talk-photo/create-job'
headers = {
    'accept': 'application/json',
    'Authorization': 'your token',
}
files = {
    "image": open('image.jpg', 'rb'),        
    "audio": open('audio.mp3', 'rb')      
}
response = requests.post(url, headers=headers, files=files)
print(response.json())  # Print the response content{
    "code": 100000,
    "result": {
        "job_id": "8bc0f9e6-48b1-42bd-aa23-95ffba3d9bfb",
        "input_content": {
            "audio": "https://image.remaker.ai/datarm/aniportrait/input/2025-05-07/input/8bc0f9e6-48b1-42bd-aa23-95ffba3d9bfb_image_.mp3",
            "image": "https://image.remaker.ai/datarm/aniportrait/input/2025-05-07/input/8bc0f9e6-48b1-42bd-aa23-95ffba3d9bfb_image_.png"
        }
    },
    "message": {
        "en": "Request Success",
        "zh": "提交任务成功"
    }
}Fetch Job
Request Url
--request GET https://developer.remaker.ai/api/remaker/v1/talk-photo/get-job/{job_id}Body Attributes
| Parameter | Description | 
|---|---|
| job_id | job_id returned by create task | 
demo
import requests
url = 'https://developer.remaker.ai/api/remaker/v1/talk-photo/get-job/8bc0f9e6-48b1-42bd-aa23-95ffba3d9bfb'
headers = {
    'accept': 'application/json',
    'Authorization': 'your token',
}
response = requests.get(url, headers=headers)
print(response.json())  # Print the response content{
    "code": 100000,
    "result": {
        "input": {
            "audio": "https://image.remaker.ai/datarm/aniportrait/input/2025-05-07/input/8bc0f9e6-48b1-42bd-aa23-95ffba3d9bfb_image_.mp3",
            "image": "https://image.remaker.ai/datarm/aniportrait/input/2025-05-07/input/8bc0f9e6-48b1-42bd-aa23-95ffba3d9bfb_image_.png"
        },
        "output": [
            "https://image.remaker.ai/datarm30/talk-photo/98864240-5405-48f4-9285-71affb34b038-merge.mp4"
        ],
        "progress": 100
    },
    "message": {
        "en": "Request Success",
        "zh": "提交任务成功"
    }
}
