Get the details of a image project. The download
field will be null
unless the image was successfully rendered.
The image can be one of the following status
draft
- not currently usedqueued
- the job is queued and waiting for a GPUrendering
- the generation is in progresscomplete
- the image is successful createderror
- an error occurred during renderingcanceled
- image render is canceled by the user
API Endpoint: GET /v1/image-projects/{id}
import Client from "magic-hour";
const client = new Client({ token: process.env["API_TOKEN"]!! });
const res = await client.v1.imageProjects.get({ id: "string" });
Upgrade to see all examples