API For AI Anime
4/24/25About 2 min
API For AI Anime
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 images will be automatically deleted after 24 hours. Please make sure to save the images you need to your local storage in a timely manner.
Header Attributes
Parameter | Description |
---|---|
Authorization | Your API Key used for request authorization. |
API For Text To Anime
Create Job
Request Url
--request POST https://developer.remaker.ai/api/remaker/v2/ai-text2anime/create-job
Body Attributes
Parameter | Type | Required | Description |
---|---|---|---|
prompt | string | true | describe the image you want to generate. |
style | string | true | Choose one style from the following four options. (animećghibli1ćghibli2ćghibli3) |
aspect_ratio | string | true | Choose one of the following options to generate image proportions. (1:1ć2:3ć3:2ć9:16ć16:9) |
demo
import requests
url = 'https://developer.remaker.ai/api/remaker/v2/ai-text2anime/create-job'
headers = {
'accept': 'application/json',
'Authorization': 'your token',
}
payload = {
'prompt': 'A little girl wearing a red hat',
'style': 'anime',
'aspect_ratio': '1:1'
}
response = requests.post(url, headers=headers, data=payload)
print(response.json()) # Print the response content
Fetch Job
Request Url
--request GET https://developer.remaker.ai/api/remaker/v2/ai-text2anime/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/v2/ai-text2anime/get-job/jp3xf7zefsrme0cpc12tfzbnp0'
headers = {
'accept': 'application/json',
'Authorization': 'your token',
}
response = requests.get(url, headers=headers)
print(response.json()) # Print the response content
Response
{
"code": 100000,
"result": {
"job_id": "jp3xf7zefsrme0cpc12tfzbnp0"
},
"message": {
"en": "Request Success."
}
}
{
"code": 100000,
"result": {
"output": [
"https://image.remaker.ai/datarm/anime/2025-04-22/output/jp3xf7zefsrme0cpc12tfzbnp0.png"
]
},
"message": {
"en": "Request Success."
}
}
API For Image To Anime
Create Job
Request Url
--request POST https://developer.remaker.ai/api/remaker/v2/ai-image2anime/create-job
Body Attributes
Parameter | Type | Required | Description |
---|---|---|---|
image | file[binary] | true | Images that need to be processed |
style | string | true | Choose one style from the following four options. (animećghiblićghibli-pro) |
strength | float | true | The strength of the anime model, the higher the strength, the higher the anime effect.. (minimum: 0.3, maximum: 0.8) |
demo
import requests
url = 'https://developer.remaker.ai/api/remaker/v2/ai-image2anime/create-job'
headers = {
'accept': 'application/json',
'Authorization': 'your token',
}
files = {
'image': open('demo01.jpg', 'rb'),
}
payload = {
'style': 'anime',
'strength': 0.5
}
response = requests.post(url, headers=headers, data=payload, files=files)
print(response.json()) # Print the response content
Fetch Job
Request Url
--request GET https://developer.remaker.ai/api/remaker/v2/ai-image2anime/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/v2/ai-image2anime/get-job/0a7s47h6z9rm80cpc21bp2d34g'
headers = {
'accept': 'application/json',
'Authorization': 'your token',
}
response = requests.get(url, headers=headers)
print(response.json()) # Print the response content
Response
{
"code": 100000,
"result": {
"job_id": "0a7s47h6z9rm80cpc21bp2d34g"
},
"message": {
"en": "Request Success."
}
}
{
"code": 100000,
"result": {
"output": [
"https://image.remaker.ai/datarm/anime/2025-04-23/output/0a7s47h6z9rm80cpc21bp2d34g.png"
]
},
"message": {
"en": "Request Success."
}
}