PopNowAPI-Doku
Hauptinhalt

Tripo 3D Tools API-Referenz

Ein fertiges 3D-Modell riggen, animieren, neu texturieren und in GLB, FBX oder STL umwandeln

Mit einem einzigen PopNow-API-Schlüssel rufst du Tripo 3D Tools aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in USD und eine Anfrage, die du direkt ins Terminal kopieren kannst.

Die Parameterbeschreibungen stammen aus dem Eingabeschema des Modells und sind nur auf Englisch verfügbar.

Auf einen Blick

Hersteller
Tripo
Ergebnis
Bild
Ab
$0.072 USD pro Anfrage

Die Preise werden in USD angezeigt und von deinem PopNow-Guthaben abgebucht. Bei Annahme wird der Höchstbetrag reserviert, nach Abschluss der tatsächliche Verbrauch abgerechnet und der Rest freigegeben. Fehlgeschlagene Tasks kosten nichts. Ein genaues Angebot erhältst du vorab über POST /api/v1/jobs/quote.

3D-Animation

tripo/tools/animate

Preis

OptionUSD
Standard$0.504 pro Anfrage

Parameter

FeldTypStandardwertErlaubtBedeutung
mesh_urlPflichtstring——The 3D character to animate: a GLB, binary FBX, OBJ or STL file up to 90 MB. It does not need a skeleton; one is added in the same run.
animationsPflichtarray<object>—bis zu 5 EinträgeOne to five preset motions, one per row. Each becomes a named clip in the file and adds to the price.
rig_typeOptionalstringautoauto, biped, quadruped, hexapod, octopod, avian, serpentine, aquatic, othersSkeleton type. auto picks one from the shape; choose another for animals and creatures. Does not change the price.
bone_namingOptionalstringtripotripo, mixamo, actorcore, unity, unreal, vrmBone naming convention for biped skeletons (Tripo, Mixamo, ActorCore, Unity, Unreal or VRM). Does not change the price.
output_formatOptionalstringglbglb, fbxFile format of the result: glb for browsers and web engines, fbx for animation software. Does not change the price.
in_placeOptionalbooleanfalse—Play the motions on the spot, without forward movement (no root motion). Does not change the price.

Beispielanfrage

Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.

Das Beispiel nutzt in mesh_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "tripo/tools/animate",
  "input": {
    "mesh_url": "https://media.popnow.ai/image-to-3d/kettle-04641a.glb",
    "animations": [
      {
        "name": "idle"
      }
    ]
  }
}'

Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

3D-Konverter

tripo/tools/convert

Preis

OptionUSD
Standard$0.072 pro Anfrage

Parameter

FeldTypStandardwertErlaubtBedeutung
mesh_urlPflichtstring——The 3D model to convert: a GLB, binary FBX, OBJ or STL file up to 90 MB. Skeleton and animation are carried over by default.
output_formatPflichtstring—glb, fbx, stlTarget format: glb for browsers and web games, fbx for animation software and engines, stl for 3D printing (geometry only). Does not change the price.
quad_meshOptionalbooleanfalse—Remesh to four-sided polygons (about 10,000 faces unless face_limit is set). Requires output_format fbx. Uses the higher rate.
face_limitOptionalinteger—48 bis 2000000Maximum number of faces, 48 to 2,000,000. Leave empty to keep the original count. Setting it uses the higher rate.
texture_sizeOptionalinteger4096128 bis 8192Diffuse texture size in pixels, 128 to 8192. Any value other than 4096 uses the higher rate.
texture_formatOptionalstringjpegjpeg, png, webpImage format of the exported textures. png or webp uses the higher rate.
pivot_to_bottomOptionalbooleanfalse—Move the pivot to the centre of the model's base. Uses the higher rate.
scale_factorOptionalnumber10.001 bis 1000Uniform scale for the exported model. Any value other than 1 uses the higher rate.
flatten_bottomOptionalbooleanfalse—Flatten the underside of the model, useful for 3D printing. Uses the higher rate.
forward_axisOptionalstring+x+x, -x, +y, -yAxis the model faces in the exported file. Does not change the price.
fbx_presetOptionalstringblenderblender, 3dsmax, mixamo, bake_scaleCompatibility preset for FBX exports. Does not change the price.
bake_texturesOptionalbooleantrue—Bake advanced materials into the base textures. Does not change the price.
keep_animationOptionalbooleantrue—Keep skeleton and animation data. Turn off for a static mesh. Does not change the price.
in_placeOptionalbooleanfalse—Remove forward movement from animation clips during export. Does not change the price.

Beispielanfrage

Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.

Das Beispiel nutzt in mesh_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "tripo/tools/convert",
  "input": {
    "mesh_url": "https://media.popnow.ai/image-to-3d/kettle-04641a.glb",
    "output_format": "glb",
    "flatten_bottom": false,
    "scale_factor": 1,
    "pivot_to_bottom": false,
    "texture_format": "jpeg",
    "texture_size": 4096,
    "quad_mesh": false
  }
}'

Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

3D-Neutexturierung

tripo/tools/retexture

Preis

OptionUSD
Standard$0.12 pro Anfrage

Parameter

FeldTypStandardwertErlaubtBedeutung
mesh_urlPflichtstring——The 3D model to repaint: a GLB, binary FBX, OBJ or STL file up to 90 MB. The shape is kept; only the textures are rebuilt.
texture_promptOptionalstring——What the new surface should look like: colours, materials, wear, markings. Give this, texture_image_url, or both.
texture_image_urlOptionalstring (uri)——A picture to texture from. Alone it is matched onto the model; with texture_prompt it is used as the style reference.
texture_qualityOptionalstringstandardstandard, fast, detailed, extremestandard (default) or fast at the base rate, detailed for higher-resolution maps at twice the base rate, extreme for 8K maps at three times the base rate.
generate_pbrOptionalbooleantrue—Add metal-roughness and normal maps next to the base colour. On by default. Does not change the price.
remove_lightingOptionalbooleantrue—Strip shadows and highlights from the reference picture before texturing. On by default. Does not change the price.
texture_alignmentOptionalstringoriginal_imageoriginal_image, geometryFollow the colours of the reference picture (default) or the shape of the mesh. Does not change the price.
bake_texturesOptionalbooleantrue—Bake advanced material effects into the standard texture maps for wider compatibility. On by default. Does not change the price.
texture_seedOptionalinteger—0 bis 2147483647Seed for the texture step. Change it for another variation on the same mesh.

Beispielanfrage

Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.

Das Beispiel nutzt in mesh_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "tripo/tools/retexture",
  "input": {
    "mesh_url": "https://media.popnow.ai/image-to-3d/kettle-04641a.glb",
    "texture_quality": "standard"
  }
}'

Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

3D-Rigging

tripo/tools/rig

Preis

OptionUSD
Standard$0.36 pro Anfrage

Parameter

FeldTypStandardwertErlaubtBedeutung
mesh_urlPflichtstring——The 3D model to rig: a GLB, binary FBX, OBJ or STL file up to 90 MB. Geometry and textures are kept; a skeleton is added.
rig_typeOptionalstringautoauto, biped, quadruped, hexapod, octopod, avian, serpentine, aquatic, othersSkeleton type. auto picks one from the shape; choose another for animals and creatures. Does not change the price.
bone_namingOptionalstringtripotripo, mixamo, actorcore, unity, unreal, vrmBone naming convention for biped skeletons (Tripo, Mixamo, ActorCore, Unity, Unreal or VRM). Does not change the price.
output_formatOptionalstringglbglb, fbxFile format of the result: glb for browsers and web engines, fbx for animation software. Does not change the price.

Beispielanfrage

Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.

Das Beispiel nutzt in mesh_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "tripo/tools/rig",
  "input": {
    "mesh_url": "https://media.popnow.ai/image-to-3d/kettle-04641a.glb"
  }
}'

Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Weiter geht’s

Auf dieser Seite