cURL
curl --request POST \ --url https://api.altmagic.pro/v1/generate-alt-text-api \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "image_url": "<string>", "user_id": "jsmith@example.com", "blog_title": "<string>", "seo_keywords": "<string>", "language_code": "<string>" }'
{ "altText": "<string>", "CreditsAvailable": 123, "plan_type": "<string>" }
Generate descriptive alt text for images using AI with automatic fallback from Gemini to OpenAI
Successful alt text generation
The response is of type object.
object