Studios
Base URL https://arteza.ai/api/v1
OpenAPI 3.1 specification, for SDK generators and agents: /api/v1/openapi.json
Official SDKs for TypeScript and Python, a command line and agent skills: SDKs and CLI
Fashion Studio and AI Influencer run on the API too, with the studio's own composition, model choice and second-chance re-render. A shoot photographs garments on a model: take a model, garments, shoes, a pose and a scene from GET /studios/fashion/catalog (presets, or your own added with POST /studios/fashion/items) and send up to 100 shots in one request. AI Influencer makes a persona with its portrait and identity sheet, then photographs it in any look, scene or product shot.
Every shot is one job, priced, charged and refunded on its own, and paid the way the key pays for any generation: plan credits at the studio price, or your USD balance at the provider's cost. Read jobs back with GET /studios/jobs, or receive studio_job.completed and studio_job.failed at your webhook.
# A catalog shoot: a model in a top and trousers, one job per shot
curl https://arteza.ai/api/v1/studios/fashion/shoots \
-H "Authorization: Bearer $ARTEZA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "catalog",
"shots": [{ "model": "MODEL_ID", "top": "GARMENT_ID", "bottom": "GARMENT_ID" }],
"webhook_url": "https://example.com/hooks/arteza"
}'
# Ids for models, garments, footwear, poses and scenes:
curl "https://arteza.ai/api/v1/studios/fashion/catalog?kind=models" -H "Authorization: Bearer $ARTEZA_API_KEY"
# An AI influencer (portrait and identity sheet), then a look:
curl https://arteza.ai/api/v1/studios/influencer/personas \
-H "Authorization: Bearer $ARTEZA_API_KEY" -H "Content-Type: application/json" \
-d '{ "name": "Mara", "prompt": "a travel photographer in her thirties" }'
curl https://arteza.ai/api/v1/studios/influencer/looks \
-H "Authorization: Bearer $ARTEZA_API_KEY" -H "Content-Type: application/json" \
-d '{ "persona": "PERSONA_ID", "scene": "a cafe terrace in Lisbon", "platform": "portrait" }'