image to image avatar
image to image

Pricing

$10.00/month + usage

Go to Apify Store
image to image

image to image

Developed by

Evoort Solutions LLC

Evoort Solutions LLC

Maintained by Community

0.0 (0)

Pricing

$10.00/month + usage

0

4

4

Last modified

2 months ago

๐Ÿ–ผ๏ธ Image to Image Generator Actor

This Apify Actor generates an AI image by combining a text prompt with a base image URL using the Pollinations AI service. It supports custom width, height, and outputs the result as a base64-encoded image.


๐Ÿ“ก API Example

Endpoint:
POST https://api.apify.com/v2/acts/evoort-solutions-llc~image-to-image/run-sync-get-dataset-items?token=YOUR_API_TOKEN

Headers:

Content-Type: application/json

Body:

{
"prompt": "A glowing magical forest",
"img_url": "https://example.com/sample.jpg"
}

๐Ÿ“ฅ Input

The input must be a JSON object with the following properties:

FieldTypeRequiredDescription
promptstringโœ… YesA short description of the image to generate.
img_urlstringโœ… YesURL of the base image (must be accessible).
widthintegerโŒ NoImage width in pixels (default: 1024).
heightintegerโŒ NoImage height in pixels (default: 1024).

๐Ÿงช Example Input

{
"prompt": "A futuristic city skyline at night",
"img_url": "https://example.com/sample.jpg",
"width": 512,
"height": 512
}

๐Ÿ“ค Output

The actor will return a single output item pushed to the default dataset.
The response format is:

{
"status": "success",
"prompt": "A futuristic city skyline at night",
"img_url": "https://example.com/sample.jpg",
"seed": 143,
"width": 512,
"height": 512,
"image_url": "https://image.pollinations.ai/prompt/A%20futuristic%20city%20skyline%20at%20night?...",
"image_base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."
}

โœ… Use Cases

This actor is useful for a wide range of creative and marketing applications:

  • ๐ŸŽจ AI-Assisted Art Generation
    Combine your text imagination with an existing image to generate futuristic, surreal, or stylized artworks.

  • ๐Ÿ›๏ธ E-commerce Product Visualization
    Generate new visuals of your products by applying creative prompts to base product images.

  • ๐Ÿ“ฐ Blog & Content Enhancement
    Create unique, SEO-friendly images that visually match your article topics.

  • ๐Ÿ“ฑ Social Media Content
    Quickly generate eye-catching graphics to support posts, reels, or stories.

  • ๐ŸŽฎ Game Design Concepts
    Generate concept art or mood boards from descriptions and inspiration images.


๐Ÿ’ก Benefits

Hereโ€™s why this actor is valuable:

  • โšก Fast & On-Demand
    Instantly generate visuals without relying on designers or external tools.

  • ๐Ÿง  Creative Control
    Mix your ideas with specific reference images to produce tailored outputs.

  • ๐Ÿ”— API Accessible
    Can be triggered programmatically via HTTP, Postman, or automation workflows.

  • ๐Ÿ› ๏ธ Configurable Output Size
    Customize width and height of generated images for your exact needs.

  • ๐Ÿ“ฆ Compact Output
    Base64-encoded image included directly in response โ€” no need to download separately.