image to image avatar

image to image

Pricing

Pay per usage

Go to Apify Store
image to image

image to image

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Evoort Solutions LLC

Evoort Solutions LLC

Maintained by Community

Actor stats

0

Bookmarked

8

Total users

0

Monthly active users

12 days ago

Last modified

Categories

Share

🖼️ 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.