Skip to main content
POST
/
api
/
v1
/
allmodelchat
/
generate
/
image
Generate Image Endpoint
curl --request POST \
  --url https://api.example.com/api/v1/allmodelchat/generate/image \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "model": "flux-pro",
  "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "url": "<string>",
  "model": "<string>",
  "credit_cost": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
required
model
string | null
default:flux-pro
conversation_id
string<uuid> | null

Response

Successful Response

url
string
required
model
string
required
credit_cost
integer
required