Download result for a given task submitted to the API.
Download result for a given task submitted to the API.
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
task_uuidstringRequired
Responses
201Success
application/json
post
/api/v2/download
201Success
Call this API endpoint to get the download URLs for your generation task following a Done status returned by the Check Status endpoint.
Calling this API endpoint before the task is done may return unexpected results like imcomplete list of files. See Check Status for how to see if a task has finished.
Pricing
We do not charge any addtional credits for calling this API to download results of your task.
Request
Authentication
This API uses bearer key for authentication. You need to include a valid token in the Authorization header for all requests.
Body
The API takes one parameter in the POST request body.
import requests
# Constants
ENDPOINT = "https://api.hyper3d.com/api/v2/download"
API_KEY = "your api key" # Replace with your actual API key
TASK_UUID = "your-task-uuid" # Replace with your actual task UUID
# Prepare the headers
headers = {
'accept': 'application/json',
'Content-Type': 'application/json',
'Authorization': f'Bearer {API_KEY}',
}
# Prepare the JSON payload
data = {
"task_uuid": TASK_UUID
}
# Make the POST request
response = requests.post(ENDPOINT, headers=headers, json=data)
# Parse and return the JSON response
print(response.json())