Haiper Inference
API Migration Notice
This API has been fully migrated to a new service. The current endpoint is no longer available.
Please use the new API at: [Asynchronous Inference API]
Video
Create Job
Example Request:
curl --location 'https://api.netmind.ai/v1/netmind-video-job' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{API_TOKEN}}' \
--data '{
"job_type":"text2video",
"config": {
"prompt": "A sci-fi and historical drama that tells the story of a time traveler’s experiences across different historical periods and how they influence major events."
}
}'import requests
import json
url = "https://api.netmind.ai/v1/netmind-video-job"
payload = json.dumps({
"job_type": "text2video",
"config": {
"prompt": "A sci-fi and historical drama that tells the story of a time traveler’s experiences across different historical periods and how they influence major events."
}
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer {{API_TOKEN}}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Example Response:
Get Job
Example Request:
Example Response:
Now you can view or download you generated video through "outputs[].media_url".
List Job
Example Request:
Example Response:
Delete Inference Job
Example Request:
Example Response:
Image
Create Job
Example Request:
Example Response:
Get Job
Example Request:
Example Response:
Now you can view or download you generated video through "outputs[].media_url".
List Job
Example Request:
Example Response:
Delete Inference Job
Example Request:
Example Response:
Last updated
Was this helpful?