Meshy N1 API-Referenz
Eine neue Oberfläche für ein 3D-Modell aus einem Referenzbild, die Form bleibt gleich
Mit einem einzigen PopNow-API-Schlüssel rufst du Meshy N1 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
- Meshy
- Ergebnis
- Bild
- Ab
- $0.48 USD pro Anfrage
- Modell-IDs
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-Neutexturierung
meshy/n1/retexture
Preis
| Option | USD |
|---|---|
Standard | $0.48 pro Anfrage |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
mesh_urlPflicht | string | — | — | The 3D model to texture: a GLB, binary FBX, OBJ or STL file up to 90 MB. The shape is kept as it is; only the texture is replaced. |
reference_image_urlsOptional | array<string> | — | bis zu 4 Einträge | One to four photos or renders of the object itself, front view first. Use these or reference_image_url, not both. |
reference_image_urlOptional | string | — | — | One image that sets the look of the texture (colours, materials, markings). Use this or reference_image_urls, not both. |
keep_original_uvOptional | boolean | true | — | Reuse the UV layout already in the model. Turn off to let the model unwrap the mesh again. A model without UVs gets new ones either way. |
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.
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": "meshy/n1/retexture",
"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.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
