
image to image
Pricing
$10.00/month + usage

image to image
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:
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: