generative

Get generated image results

Changed on

Gets the status, metadata, and preview links for a previously requested image generation.

get/v2/generative/images/{id}

Request

Path parameters

idstring required

The UUID of the generation request.

Response

Generation status and result metadata

idstring nullable required

The UUID of the generation request.

status'PENDING' | 'GENERATING' | 'COMPLETED' required

Current generation status.

promptstring nullable

Prompt entered by the user.

modelstring nullable

The image generation model identifier.

aspect_ratiostring nullable

The generated image aspect ratio.

is_privateboolean nullable
can_register_assetsboolean nullable

Whether generated assets are eligible for registration.

Example response

{
  "id": "0136648a-d739-4c00-8af9-92b1a31db567",
  "status": "COMPLETED",
  "prompt": "dog playing a fiddle",
  "model": null,
  "aspect_ratio": "1:1",
  "style": null,
  "is_private": true,
  "can_register_assets": true,
  "assets": [
    {
      "id": "asset-generation-0136648a-d739-4c00-8af9-92b1a31db567-0",
      "description": "Expressionist artistic image of dog playing a fiddle",
      "image_id": "4302402011",
      "ai_ip_review": {
        "status": "pending",
        "rejection_reasons": []
      },
      "small": {
        "url": "https://generated-assets-cdn.qa.shutterstock.com/asset-generation-0136648a-d739-4c00-8af9-92b1a31db567/asset-generation-0136648a-d739-4c00-8af9-92b1a31db567-0-small.jpg",
        "height": 512,
        "width": 512
      },
      "watermarked": {
        "url": "https://generated-assets-cdn.qa.shutterstock.com/asset-generation-0136648a-d739-4c00-8af9-92b1a31db567/asset-generation-0136648a-d739-4c00-8af9-92b1a31db567-0-watermarked.jpg",
        "height": 1024,
        "width": 1024
      },
      "styles": [
        {
          "id": "expressionist",
          "name": "Expressionist"
        }
      ]
    }
  ]
}

Changes