POST
/
v1
/
generate-alt-text-api
Generate Alt Text
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>"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

Successful alt text generation

The response is of type object.