Schnellstart
Vom Foto zum GLB in wenigen Minuten.
1. API-Schlüssel erstellen
Bewahre ihn auf deinem Server in einer Umgebungsvariable auf.
export WANDY3D_API_KEY="hg_live_…"2. Guthaben aufladen
Ab $5. Prüf es jederzeit mit einem kostenlosen Aufruf.
curl https://api.wandy3d.com/api/platform/balance \ -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"balance_usd": "<balance>", "month_spent_usd": "<spent>", …}3. Modell generieren
Schick ein Foto, frag den Task ab, lade das GLB herunter. Der Preis wird von deinem Guthaben abgebucht und in der Antwort angezeigt.
# 1. Start a generation from a photo (Wandy 2)curl -s -X POST "https://api.wandy3d.com/generate/cloud/ultra" \ -H "Authorization: Bearer $WANDY3D_API_KEY" \ -F "file=@photo.jpg"# → {"task_id": "<task_id>", "status": "queued", "billing": {"cost_usd": "<price>", "balance_usd": "<balance>"}, …}# 2. Poll until "status" is "done"curl -s "https://api.wandy3d.com/task/<task_id>/status" \ -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"status": "done", "model_id": "<model_id>", …}# 3. Get a download link, then download the GLBcurl -s "https://api.wandy3d.com/model/<model_id>/export?format=glb" \ -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"status": "ready", "url": "<download_url>", "filename": "<name>.glb", …}curl -L -o model.glb "<download_url>"4. Gut zu wissen
Wie sich Abrechnung, Fehler und Limits verhalten.
- Abrechnung in jeder AntwortKostenpflichtige Aufrufe antworten mit billing.cost_usd und billing.balance_usd sowie den Headern X-Wandy-Cost-USD / X-Wandy-Balance-USD.
- Fehler402 insufficient_balance / monthly_limit_reached / key_limit_reached, 429 rate_limited / too_many_jobs. Jeder Fehler ist JSON mit Code und Meldung.
- Automatische ErstattungenEin fehlgeschlagener Job wird deinem Guthaben erstattet – du zahlst nie für ein Modell, das du nicht bekommen hast.
- Limits60 Anfragen pro Minute pro Schlüssel und 5 gleichzeitige Jobs pro Konto. Monatliche Obergrenzen auf der Seite Limits.

