
image to image
Pricing
$10.00/month + usage

image to image
0.0 (0)
Pricing
$10.00/month + usage
0
Total users
2
Monthly users
2
Runs succeeded
>99%
Last modified
7 days 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:
Field | Type | Required | Description |
---|---|---|---|
prompt | string | ✅ Yes | A short description of the image to generate. |
img_url | string | ✅ Yes | URL of the base image (must be accessible). |
width | integer | ❌ No | Image width in pixels (default: 1024 ). |
height | integer | ❌ No | Image 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.
On this page
Share Actor: