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

Replace {{API_TOKEN}} with your actual token.

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."
      }  
}'

Example Response:

Get Job

Replace {{API_TOKEN}} with your actual token.

Replace {{JOB_ID}} with "job_id" you got from previous step.

Example Request:

Example Response:

Now you can view or download you generated video through "outputs[].media_url".

List Job

Replace {{API_TOKEN}} with your actual token.

Example Request:

Example Response:

Delete Inference Job

Replace {{API_TOKEN}} with your actual token.

Replace {{JOB_ID}} with "job_id" you got from previous step.

Example Request:

Example Response:

Image

Create Job

Replace {{API_TOKEN}} with your actual token.

Example Request:

Example Response:

Get Job

Replace {{API_TOKEN}} with your actual token.

Replace {{JOB_ID}} with "job_id" you got from previous step.

Example Request:

Example Response:

Now you can view or download you generated video through "outputs[].media_url".

List Job

Replace {{API_TOKEN}} with your actual token.

Example Request:

Example Response:

Delete Inference Job

Replace {{API_TOKEN}} with your actual token.

Replace {{JOB_ID}} with "job_id" you got from previous step.

Example Request:

Example Response:

Last updated

Was this helpful?