# Generate AI product photos from prompts

**Use case:** 

Generate product-photography-style images in bulk for mockups, listings and ads: describe each product and its setting, and FLUX.2 Klein returns two square variations per prompt, each as its own dataset item with URL, size and seed. $0.01 per delivered image, failures free.

## Input

```json
{
  "prompts": [
    "Professional product photo of a matte black ceramic coffee mug on a light oak table, soft window light, shallow depth of field",
    "Professional product photo of white running sneakers on a concrete floor, bright studio lighting, slight side angle"
  ],
  "imageSize": "square_hd",
  "quality": "standard",
  "imagesPerPrompt": 2,
  "outputFormat": "png",
  "maxPrompts": 100
}
```

## Output

```json
{
  "outputUrl": {
    "label": "Image",
    "format": "string"
  },
  "prompt": {
    "label": "Prompt",
    "format": "string"
  },
  "width": {
    "label": "W",
    "format": "integer"
  },
  "height": {
    "label": "H",
    "format": "integer"
  },
  "seed": {
    "label": "Seed",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bulk AI Image Generator — FLUX.2 Klein & Schnell, No API Key Actor is ready to run with the inputs already set for "Generate AI product photos from prompts". [Sign up or log in](https://console.apify.com/create-task-from-example/JzdyBTJmGqMlpjkEi) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Generate AI product photos from prompts" task

The Bulk AI Image Generator — FLUX.2 Klein & Schnell, No API Key Actor will start running based on the input automatically. You can also change all the input fields, like prompts, image size, and more, to match your specific use case.

### 3. Receive the "Generate AI product photos from prompts" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image, prompt, w, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Generate AI product photos from prompts" task via API](https://apify.com/sherwood/image-generator-batch.md).

## FAQ

### Which model generates these AI product photos?

This AI product photo task runs FLUX.2 Klein 9B in standard quality. Set quality to fast for FLUX Schnell, about twice as fast and cheaper, good for drafts before the final batch.

### How do I keep one product consistent across several scenes?

This AI product photo task returns the seed of every image. Describe the product the same way in every prompt (color, material, shape) and reuse the seed of the variation you liked.

### What does a catalog of AI product photos cost?

This AI product photo task makes 2 square images per prompt at $0.01 each on the free plan, $0.008 on Business and above. Custom sizes above 1.1 MP add the same price per started megapixel.

### Can an AI agent generate product photos without an Apify account?

This AI product photo task is eligible for agentic payments (x402, Skyfire, MPP), so an AI agent can run it and pay per request without an Apify account. It also works as a tool through the Apify MCP server.

## About this Actor

This example demonstrates how to use [Bulk AI Image Generator — FLUX.2 Klein & Schnell, No API Key](https://apify.com/sherwood/image-generator-batch.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sherwood/image-generator-batch.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sherwood/image-generator-batch.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
