Save editor drafts, reusable prompts and references to owned canonical tasks and assets.
/v1/studio/projects/GET /v1/studio/projects/ lists saved work. PATCH requires expected_revision; outdated edits receive 409.
POST /v1/studio/projects/{studio_id}/links/ attaches a task or ready asset from the same account/project.
Creating a Studio project does not run inference or reserve credits. Deleting it never deletes the associated tasks or assets.
Task API · convert
# Upload a file using /v1/assets/uploads/ first; replace the example asset IDs.
curl -X POST 'https://api.imagehq.io/v1/task/' \
-H "X-API-Key: $IMAGEHQ_API_KEY" \
-H 'Content-Type: application/json' \
-H "Idempotency-Key: $(uuidgen)" \
--data-binary '{"operation":"convert","inputs":[{"type":"asset","asset_id":"asset_12345678"}],"parameters":{"target_format":"webp","quality":85},"outputs":[{"type":"managed"}]}'Illustrative server-side examples. Upload source bytes to a presigned S3 URL first; substitute your ready asset IDs and an enabled model.