API Documentation
Programmatic access to Tinqs Forge generation pipeline.
Authentication
All API requests require an API key. Create one in your Dashboard → API Keys.
curl -H "Authorization: Bearer tq_YOUR_API_KEY" \
https://tinqs.com/forge/api/generate/text2imgEndpoints
POST
/api/generate/text2img1 creditsGenerate a 2D image from a text prompt. Uses FLUX.2 [klein] 4B.
{ "prompt": "Polynesian wooden sword blade, white background" }{ "success": true, "imageUrl": "https://...", "remaining": 9 }POST
/api/generate/img2mesh5 creditsGenerate a 3D mesh from an image URL. Uses TRELLIS.2.
{ "imageUrl": "https://example.com/sword.png" }{ "success": true, "meshUrl": "https://...", "remaining": 4 }POST
/api/generate/full6 creditsFull pipeline: text → 2D image → 3D mesh. Chains FLUX.2 → TRELLIS.2.
{ "prompt": "Polynesian wooden sword blade" }{ "success": true, "imageUrl": "...", "meshUrl": "...", "remaining": 3 }GET
/api/creditsCheck your credit balance.
{ "credits": 10 }