AI Image Generator — Ai Generator

    Generate images from text prompts using state-of-the-art AI models like Flux, Stable Diffusion, and Midjourney.

    5 credits per request
    ~30s
    Features
    Multiple Models
    Custom Sizes
    Negative Prompts
    Reproducible Seeds
    Use Cases
    Content creation
    Marketing assets
    Concept art

    What This Tool Does

    The AI Image Generator creates images from text descriptions using state-of-the-art AI models. Provide a detailed text prompt and receive a high-quality image URL in return. Supports multiple AI models, custom dimensions, negative prompts, and reproducible seeds.

    Available Models

    ModelSpeedQualityBest For
    flux-schnellFast (~5–10s)GoodRapid prototyping, iteration, batch generation
    flux-devMedium (~15–30s)HighProduction assets, detailed scenes, final renders
    stable-diffusionMedium (~15–20s)GoodArtistic styles, illustrations, creative work

    Default: flux-schnell — the best balance of speed and quality for most use cases.

    Parameters

    ParameterTypeRequiredDefaultDescription
    promptstringYesText description of the image to generate
    modelstringNoflux-schnellAI model: flux-schnell, flux-dev, stable-diffusion
    widthintegerNo1024Image width in pixels (256–2048)
    heightintegerNo1024Image height in pixels (256–2048)
    num_imagesintegerNo1Number of images to generate (1–4)
    negative_promptstringNoWhat to exclude from the image
    seedintegerNoFixed seed for reproducible results

    Prompt Writing Tips

    Writing a good prompt is the most important factor in getting high-quality results.

    Be specific about the subject:

    ❌ "a dog" → ✅ "a golden retriever puppy sitting on a wooden porch, looking at the camera"

    Add style and medium:

    "product photo, studio lighting, white background, 4K, photorealistic" "digital painting, vibrant colors, fantasy art, detailed" "minimalist illustration, flat design, pastel colors"

    Specify the mood and lighting:

    "soft morning light", "dramatic shadows", "warm sunset tones", "bright and airy"

    Describe composition:

    "close-up portrait", "wide-angle landscape", "bird's eye view", "rule of thirds"

    Use negative prompts to remove unwanted elements:

    "blurry, distorted, watermark, text, signature, low quality, ugly, deformed"

    Example of a well-structured prompt:

    A modern MacBook laptop on a clean wooden desk, minimalist home office setup,
    soft natural window light from the left, shallow depth of field, product photography,
    4K, photorealistic
    

    Use Cases

    • Marketing visuals — Generate on-brand images for ads, social media, and landing pages without a photo shoot.
    • Product mockups — Visualise product concepts or packaging designs before production.
    • Content creation — Produce blog header images, thumbnails, and article illustrations at scale.
    • Design prototyping — Quickly explore visual directions and styles before committing to a full design.
    • Social media — Create unique, eye-catching images for posts, stories, and banners.

    Example Request

    {
     "prompt": "A modern laptop on a wooden desk, minimalist style, soft lighting, product photography",
     "model": "flux-schnell",
     "width": 1024,
     "height": 1024
    }
    

    Example Response

    {
     "imageUrl": "https://storage.mapiok.com/results/abc123/image.png",
     "model": "flux-schnell",
     "prompt": "A modern laptop on a wooden desk, minimalist style, soft lighting, product photography",
     "width": 1024,
     "height": 1024,
     "seed": 1749302,
     "generationTimeMs": 7340
    }
    

    Limits and Tips

    • Resolution: Width and height must be between 256 and 2048 pixels. Very large images (>1536px per side) increase generation time significantly.
    • Aspect ratios: Common ratios work best — 1:1 (1024×1024), 16:9 (1024×576), 9:16 (576×1024), 4:3 (1024×768).
    • Reproducibility: Set a seed value to generate the same image repeatedly. The same prompt + seed + model always produces the same result. Omit seed for random variation.
    • Negative prompts: Keep negative prompts short and specific. Long negative prompt lists can reduce output diversity. Focus on 3–5 key exclusions.
    • Credits: Each generation costs 5 credits regardless of model or size.
    • Processing time: flux-schnell typically completes in 5–10 seconds; other models may take 15–30 seconds.

    On this page