Feature Endpoint
Text Extender
This endpoint allows you to extend (or expand) your existing text or paragraph for better depth.
/custom/api/generate/extend/content
Headers
Input the Authorization Bearer Token to authorize your API request.
Body
This field inputs content you want to extend.
Example: “Mumbai is in the tropics, which means that it is very close to the equator and receives a lot of rainfall throughout the year. The city's drainage network is inadequate, exacerbating the flooding from tropical cyclones.”
Response
Indicates whether the call was successful. It prompts success if working, otherwise not.
The generated content.
This is the input text provided to the text extender.
This information is attached to the call and offers meaningful details when errors occur.
This field informs you about the credits consumed for this particular request. It varies on the generated content.
curl --location --request POST 'https://api-az.longshot.ai/custom/api/generate/extend/content'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer <token>'
--data-raw '{
"text": ""
}'
{
"copies": [
{
"content": "<Generated Content>"
}
],
"status": "success",
"message": "copies generated successfully",
"credits_used": "<Credits>"
}