Skip to main content
POST
/
hub
/
v1
/
image
Submit an image generation task
curl --request POST \
  --url https://api.mountsea.ai/hub/v1/image \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "model": "nano-banana",
  "input": {
    "prompt": "An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.",
    "num_images": 1,
    "aspect_ratio": "1:1",
    "output_format": "png",
    "safety_tolerance": "4"
  }
}
EOF
{
  "task_id": "hub-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "pending",
  "capability": "video",
  "model": "veo-3.1-fast",
  "vendor": "Google",
  "mode": "text-to-video",
  "created_at": "2026-05-18T09:00:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mountsea.ai/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
model
enum<string>
required

Fixed value: "nano-banana"

Available options:
nano-banana
input
Nano Banana — input · object
required

Gemini 2.5 Flash Image: fast and affordable text-to-image generation.

Response

200 - application/json
task_id
string
required

Unique task ID — use this to poll GET /hub/v1/tasks/:task_id

Example:

"hub-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

status
string
required

Task status at creation time (usually pending)

Example:

"pending"

capability
string
required

Capability: image | video | audio | transcribe

Example:

"video"

model
string
required

Model ID

Example:

"veo-3.1-fast"

vendor
string
required

Model vendor

Example:

"Google"

mode
string
required

Generation mode (e.g. text-to-video, image-to-image)

Example:

"text-to-video"

created_at
string
required

ISO 8601 creation timestamp

Example:

"2026-05-18T09:00:00.000Z"