API docs menu
Reference
Files
GET
/v1/files/{file_id}/contentDownloads a result in full quality: a PNG for photos. It works with your API key, or without it through the signed output.url for 24 hours, so the link can go straight to your store or CDN. For a new link, fetch the generation again.
curl
# With your key
curl -o tshirt-red.png https://api.fittins.ai/v1/files/file_3f9c2a7b1e0d4c6a8b2f5e1d/content \
-H "Authorization: Bearer $FITTINS_API_KEY"
# Or with the signed output.url alone (valid 24 hours)
curl -o tshirt-red.png "$OUTPUT_URL"Questions? Email support@fittins.ai with the X-Request-Id of the request.Next: Models and locations →