⚙️ API
Documentación de API
Integre PromptShot AI en sus propias aplicaciones. API REST simple con datos de formulario multiparte.
Primeros Pasos
The PromptShot AI API is available on the Pro and Business plans.
Base URL
https://promptshotai.comAuthentication (coming soon)
Authorization: Bearer YOUR_API_KEYAll endpoints accept multipart/form-data for file uploads or application/json for text-only endpoints.
POST
/api/image-to-promptGenerate an AI prompt from an uploaded image.
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
image | File | obligatorio | Image file (JPEG, PNG, WebP — max 10MB) |
style | string | opcional | "detailed" | "creative" | "technical" | "cinematic" (default: detailed) |
lang | string | opcional | ISO language code (default: en) |
Respuesta
{
"prompt": "A stunning sunset over rolling mountains...",
"tags": ["landscape", "golden hour", "cinematic", "mountains"]
}POST
/api/tools/describeGenerate alt-text, SEO description, or social caption from an image.
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
image | File | obligatorio | Image file (JPEG, PNG, WebP — max 10MB) |
purpose | string | opcional | "general" | "accessibility" | "seo" | "social" (default: general) |
lang | string | opcional | ISO language code (default: en) |
Respuesta
{
"description": "A detailed description of the image...",
"altText": "Short one-sentence alt text",
"keywords": ["keyword1", "keyword2"]
}POST
/api/tools/enhance-promptGenerate optimized prompts from structured text parameters.
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
subject | string | obligatorio | Main subject or scene description |
style | string | opcional | Art style (e.g. "Cinematic", "Anime") |
mood | string | opcional | Mood or atmosphere |
platform | string | opcional | "Midjourney" | "DALL-E 3" | "Stable Diffusion" |
Respuesta
{
"prompts": [
{ "label": "Simple", "prompt": "..." },
{ "label": "Detailed", "prompt": "..." },
{ "label": "Ultra", "prompt": "..." }
],
"tips": ["tip1", "tip2"]
}Límites de Uso
| Plan | Requests / Month | Max File Size |
|---|---|---|
| Free | 100 | 5MB |
| Pro | 10,000 | 10MB |
| Business | Unlimited | 20MB |
Need API Access?
Upgrade to Pro or Business to get your API key.