curl --request POST \
--url https://api.gizmo.antimlabs.com/v1/assets \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>",
"scene_id": "<string>",
"model": "<string>",
"asset_pipeline": "auto",
"reference_image_urls": [
"<string>"
],
"persist": true
}
'import requests
url = "https://api.gizmo.antimlabs.com/v1/assets"
payload = {
"prompt": "<string>",
"scene_id": "<string>",
"model": "<string>",
"asset_pipeline": "auto",
"reference_image_urls": ["<string>"],
"persist": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
prompt: '<string>',
scene_id: '<string>',
model: '<string>',
asset_pipeline: 'auto',
reference_image_urls: ['<string>'],
persist: true
})
};
fetch('https://api.gizmo.antimlabs.com/v1/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gizmo.antimlabs.com/v1/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'prompt' => '<string>',
'scene_id' => '<string>',
'model' => '<string>',
'asset_pipeline' => 'auto',
'reference_image_urls' => [
'<string>'
],
'persist' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gizmo.antimlabs.com/v1/assets"
payload := strings.NewReader("{\n \"prompt\": \"<string>\",\n \"scene_id\": \"<string>\",\n \"model\": \"<string>\",\n \"asset_pipeline\": \"auto\",\n \"reference_image_urls\": [\n \"<string>\"\n ],\n \"persist\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gizmo.antimlabs.com/v1/assets")
.header("Content-Type", "application/json")
.body("{\n \"prompt\": \"<string>\",\n \"scene_id\": \"<string>\",\n \"model\": \"<string>\",\n \"asset_pipeline\": \"auto\",\n \"reference_image_urls\": [\n \"<string>\"\n ],\n \"persist\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gizmo.antimlabs.com/v1/assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"prompt\": \"<string>\",\n \"scene_id\": \"<string>\",\n \"model\": \"<string>\",\n \"asset_pipeline\": \"auto\",\n \"reference_image_urls\": [\n \"<string>\"\n ],\n \"persist\": true\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"scene_id": "jh72k3m4n5p6q7r8",
"job_id": "job_x9y8z7w6",
"status": "queued"
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123
}
}Generate an asset
Generate a single 3D asset from a text prompt. The asset includes geometry, joints, materials, physics properties, and affordances.
The build method is chosen automatically per request: structured or jointed objects (furniture, appliances, racks) build as prim-based articulated assets (~15-20 min); organic objects (food, plants, fabric) build as mesh scans (~2-4 min). Optional reference_image_urls ground the geometry/texture in your photos.
Returns a job_id โ poll or stream for progress.
curl --request POST \
--url https://api.gizmo.antimlabs.com/v1/assets \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>",
"scene_id": "<string>",
"model": "<string>",
"asset_pipeline": "auto",
"reference_image_urls": [
"<string>"
],
"persist": true
}
'import requests
url = "https://api.gizmo.antimlabs.com/v1/assets"
payload = {
"prompt": "<string>",
"scene_id": "<string>",
"model": "<string>",
"asset_pipeline": "auto",
"reference_image_urls": ["<string>"],
"persist": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
prompt: '<string>',
scene_id: '<string>',
model: '<string>',
asset_pipeline: 'auto',
reference_image_urls: ['<string>'],
persist: true
})
};
fetch('https://api.gizmo.antimlabs.com/v1/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gizmo.antimlabs.com/v1/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'prompt' => '<string>',
'scene_id' => '<string>',
'model' => '<string>',
'asset_pipeline' => 'auto',
'reference_image_urls' => [
'<string>'
],
'persist' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gizmo.antimlabs.com/v1/assets"
payload := strings.NewReader("{\n \"prompt\": \"<string>\",\n \"scene_id\": \"<string>\",\n \"model\": \"<string>\",\n \"asset_pipeline\": \"auto\",\n \"reference_image_urls\": [\n \"<string>\"\n ],\n \"persist\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gizmo.antimlabs.com/v1/assets")
.header("Content-Type", "application/json")
.body("{\n \"prompt\": \"<string>\",\n \"scene_id\": \"<string>\",\n \"model\": \"<string>\",\n \"asset_pipeline\": \"auto\",\n \"reference_image_urls\": [\n \"<string>\"\n ],\n \"persist\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gizmo.antimlabs.com/v1/assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"prompt\": \"<string>\",\n \"scene_id\": \"<string>\",\n \"model\": \"<string>\",\n \"asset_pipeline\": \"auto\",\n \"reference_image_urls\": [\n \"<string>\"\n ],\n \"persist\": true\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"scene_id": "jh72k3m4n5p6q7r8",
"job_id": "job_x9y8z7w6",
"status": "queued"
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123
}
}Headers
Body
Request body for asset generation.
Natural language description of the asset
1"A 6-DOF robotic arm with gripper end-effector"
Target scene ID. If omitted, a default scene is created.
Override the default LLM model
Geometry pipeline
auto, gizmo, cad Up to 3 http(s) image URLs grounding the asset's geometry/texture
3Whether to persist to S3
Response
Job created