> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Image

> Use AI to generate images based on a text prompt for marketing campaigns, social media, and content creation.

The **Generate Image** node creates custom images from text descriptions using AI. Perfect for marketers who need unique visuals for campaigns, social media posts, blog content, or presentations without hiring designers or purchasing stock photos.

Simply describe what you want, and AI generates professional-quality images ready for your marketing materials.

***

## When to Use It

Use this node to create:

* **Social media graphics** for posts, stories, and ads
* **Ad creatives** Meta Ads, Google Ads, TikTok Ads, etc.
* **Product Feed images** for e-commerce listings
* **Blog post headers** and featured images
* **Brand illustrations** and custom graphics

***

## Inputs

| Field                | Type              | Required | Description                                                |
| -------------------- | ----------------- | -------- | ---------------------------------------------------------- |
| **Prompt**           | Dynamic Text Area | Yes      | Detailed description of the image you want to generate     |
| **Model**            | Model Selector    | Yes      | AI model for image generation (GPT-Image default)          |
| **Number of Images** | Number            | Yes      | How many variations to generate (1-10)                     |
| **Output Format**    | Select            | No       | File format: PNG (default), JPEG, or WebP                  |
| **Quality**          | Select            | No       | Image quality: Auto (default), Low, Medium, or High        |
| **Size**             | Select            | No       | Image dimensions: Auto, 1024x1024, 1536x1024, or 1024x1536 |
| **Background**       | Select            | No       | Background type: Auto, Transparent, or Opaque              |

***

## Writing Effective Prompts

### Be Specific and Descriptive

```
❌ "Marketing image"
✅ "Professional business team meeting in modern office, discussing charts on laptop, bright lighting, corporate style"
```

### Include Style and Mood

```
✅ "Minimalist flat design illustration of e-commerce shopping cart with products, clean blue and white color scheme, modern style"
```

### Specify Brand Elements

```
✅ "Social media post graphic with bold text overlay space, vibrant gradient background in brand colors (blue #2563eb and orange #f97316), professional look"
```

***

## Configuration Tips

### Number of Images

* **1 image**: When you have a specific vision
* **2-3 images**: For A/B testing variations
* **4-10 images**: When exploring different concepts

### Size Selection

* **1024x1024**: Square format (Instagram posts, profile pictures)
* **1536x1024**: Landscape (blog headers, Facebook posts)
* **1024x1536**: Portrait (Instagram stories, Pinterest pins)

### Quality Settings

* **Auto**: Best overall balance (recommended)
* **High**: For print materials or detailed graphics
* **Medium**: For web use with smaller file sizes
* **Low**: For quick concepts or thumbnails

### Background Options

* **Auto**: Let AI decide based on your prompt
* **Transparent**: For logos, icons, or overlays
* **Opaque**: For full background images

***

## Output and Usage

The node generates image URLs that can be:

* **Downloaded directly** for immediate use
* **Connected to other nodes** like create Meta Ads, Google Ads, or TikTok Ads
* **Stored in cloud storage** for your marketing asset library
* **Used in presentations** or marketing materials

***

## Credit Cost

* **Cost per image**: 20 credits per successful image generation

## Frequently Asked Questions

<Accordion title="What's the difference between Generate Image and Edit Image?">
  **Generate Image** creates new images from text descriptions only - no reference image needed. **Edit Image** requires you to upload a reference image and modifies it based on your prompt.

  Use **Generate Image** for completely new concepts. Use **Edit Image** to create variations of existing successful creatives or maintain brand consistency.
</Accordion>

<Accordion title="Can I use these images for commercial purposes?">
  Yes, generated images can be used for commercial marketing purposes including ads, social media, websites, and promotional materials.
</Accordion>

<Accordion title="How do I create images that match my brand?">
  Include specific brand elements in your prompt:

  * Brand colors (use hex codes if you have them)
  * Style preferences (minimalist, bold, professional)
  * Visual elements (logos, patterns, typography style)
</Accordion>

<Accordion title="What's the best size for different platforms?">
  **Instagram Posts**: 1024x1024 (square)\
  **Instagram Stories**: 1024x1536 (portrait)\
  **Facebook Posts**: 1536x1024 (landscape)\
  **Blog Headers**: 1536x1024 (landscape)\
  **Email Headers**: 1536x1024 (landscape)
</Accordion>

<Accordion title="How many images should I generate at once?">
  **For specific needs**: 1 image when you know exactly what you want\
  **For A/B testing**: 2-3 variations of the same concept\
  **For exploration**: 5-10 images when brainstorming ideas
</Accordion>

<Accordion title="Why aren't my images turning out as expected?">
  **Common issues:**

  * Prompt too vague - be more specific about style, colors, and composition
  * Missing context - include the intended use (social media, blog, etc.)
  * Conflicting instructions - avoid contradictory style requests

  **Solutions:**

  * Study prompts from successful generations
  * Break complex ideas into simpler, clearer descriptions
  * Specify the mood and style you want
</Accordion>
