Image to Prompt Generator API
Pricing
$10.00 / 1,000 image to prompt generators
Go to Apify Store
Image to Prompt Generator API
Generate Midjourney, Stable Diffusion, and natural language prompt descriptions from any image URL using visual AI models.
π Image to Prompt Generator Actor
Instantly convert any image URL into a detailed Midjourney, Stable Diffusion, or natural language prompt using advanced vision models.
This Actor integrates with a high-performance Cloudflare Worker edge reverse-proxy to process visual media via the "Image to Prompt v2 API" API.
π Key Features
- Deep Visual Interrogation: Analyzes subject attributes, background elements, lighting conditions, styling, perspective, and color palettes.
- Prompt Engineering Optimized: Tailors generated prompt descriptions to be directly usable in generative text-to-image AI platforms.
- Multi-Storage Outputs: Saves the raw result object to both the default dataset and Key-Value store under the
OUTPUTkey.
π₯ Input Parameters
| Field | Type | Description | Prefill Example |
|---|---|---|---|
| Image URL | string | The public URL of the image to analyze. | https://picsum.photos/id/237/200/300 |
| Language | string | The language of the prompt output. | English |
Input JSON Example
{"image_url": "https://picsum.photos/id/237/200/300","language": "English"}
π€ Output Data Structure
The dataset outputs the complete JSON response returned by the prompt builder:
Output JSON Example (Success)
{"success": true,"data": {"result": "A single, black dog sitting on a wooden floor, studio lighting, close-up shot...","model": "general","language": "English","requestId": "6bb831bf-e988-4002-b669-8c1de6a53ad0","credits_left": 0}}
Output JSON Example (Error/Missing)
{"success": false,"error": "The \"image_url\" parameter is required."}
π³ Monetization & Cost
This Actor utilizes the Pay-Per-Event (PPE) pricing model on the Apify Store:
- Event Name:
image-to-prompt-scan - Price per event: $0.01 per successful prompt description query.