Quick start
One key, one request: a picture, a video, a voice-over or a track, saved to your hew project and sent back as a link.
- Start a job
curl https://hew.design/api/v1/jobs \ -H "Authorization: Bearer $HEW_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3-pro-image","prompt":"A latte with leaf art, morning light","aspect":"4:5"}' - Wait for it
?wait=50holds the request until the job is done (up to 50 seconds); pictures usually are, videos take a few minutes.curl "https://hew.design/api/v1/jobs/$JOB_ID?wait=50" \ -H "Authorization: Bearer $HEW_API_KEY"
- Use the result
output.urlworks for 7 days; the result also stays in your project.JSON{ "id": "0b5c2a4e-7d1f-4a3b-9c8d-2e6f1a0b9c7d", "object": "job", "kind": "image", "model": "gemini-3-pro-image", "status": "succeeded", "progress": 1, "done": true, "projectUrl": "https://hew.design/projects/1c6d3b5f-…", "output": { "type": "image", "mediaId": "2d7e4c6a-…", "url": "https://hew.design/api/storage/assets/…?expires=…&signature=…", "width": 1024, "height": 1280, "mimeType": "image/png" }, "credits": 8 }