# AI image generator

**Use case:** 

Generate AI images from Craiyon prompts with style, aspect ratio, negative prompt controls, and saved image URLs.

## Input

```json
{
  "prompts": [
    "a modern product hero image of a reusable water bottle on a clean studio background"
  ],
  "imagesPerPrompt": 1,
  "negativePrompt": "text, watermark, blur",
  "style": "photo",
  "aspectRatio": "square"
}
```

## Output

```json
{
  "downloadUrl": {
    "label": "Saved image",
    "format": "string"
  },
  "prompt": {
    "label": "Prompt",
    "format": "string"
  },
  "promptIndex": {
    "label": "Prompt #",
    "format": "integer"
  },
  "imageIndex": {
    "label": "Image #",
    "format": "integer"
  },
  "style": {
    "label": "Style",
    "format": "string"
  },
  "aspectRatio": {
    "label": "Shape",
    "format": "string"
  },
  "width": {
    "label": "Width",
    "format": "integer"
  },
  "height": {
    "label": "Height",
    "format": "integer"
  },
  "category": {
    "label": "Category",
    "format": "array"
  },
  "sourceImageUrl": {
    "label": "Source image",
    "format": "string"
  },
  "generatedAt": {
    "label": "Generated at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Craiyon AI Image Creator](https://apify.com/maximedupre/craiyon-ai-image-creator) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/craiyon-ai-image-creator) to learn more, explore other use cases, and run it yourself.