Run image-agent-1 with text instructions and optional reference images. Currently in early access preview.
multipart/form-data (recommended when sending images)
model_id (validImageModelIds, optional): Defaults to "image-agent-1-preview"agent_id (string, optional)instructions (string, required): Between 3 and 10,000 charactersaspect_ratio ("auto" | validAspectRatios, optional): Defaults to "1:1"resolution (validResolutions, optional): Defaults to "2K"images (file | file[], optional): Single image or up to 10 images, each max 30MB; defaults to []webhook_url (string, optional): Must be a valid URLmax_steps (number, optional): Minimum 1, maximum 30, defaults to 10instructions minimum length: 3instructions maximum length: 10,000images accepts either:
10)images is normalized to an array internallyBearer authentication header of the form Bearer <token>, where <token> is your auth token.
3 - 10000image-agent-1-preview auto, 9:16, 2:3, 3:4, 4:5, 1:1, 5:4, 4:3, 3:2, 16:9 2K, 4K Must be a valid URL
1 <= x <= 30