Text to Image

artany-nano-banana-pro

Picverse phase-one image capability.

POST /v1/images/generationsAsync generationFixed Credit pricing

Quick start

Submit a request with this public model ID. The API immediately returns a normalized job; poll GET /v1/jobs/{jobId} while its status is queued or running.

curl -X POST "https://api.artany.ai/v1/images/generations" \
  -H "Authorization: Bearer $ARTANY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: unique-request-id" \
  -d '{"model":"artany-nano-banana-pro","count":1,"prompt":"A cinematic coastal village","resolution":"1k","aspect_ratio":"16:9"}'

Request

Headers

HeaderRequiredDescription
AuthorizationYesBearer token for an Artany API key.
Content-TypeYesMust be application/json.
Idempotency-KeyRecommended8–128 characters. Reusing it with an identical request prevents duplicate jobs and charges.

Body

{
  "model": "artany-nano-banana-pro",
  "count": 1,
  "prompt": "A cinematic coastal village",
  "resolution": "1k",
  "aspect_ratio": "16:9"
}

Parameters

Only these fields are accepted. Defaults are applied before validation and quoting.

FieldTypeRequiredDescriptionDefaultConstraints
modelstringYesStable Artany public model ID. Do not send provider model IDs.artany-nano-banana-proThis exact public model ID.
countintegerNoNumber of images to generate in one request. The model-specific maximum is enforced.1Range: 1–4
promptstringYesNatural-language instruction describing the desired image or video. Include subject, setting, composition, motion, lighting, and style as needed.Length: 1–12000
resolutionstringNoRequested output quality tier. Available values are model-specific and can affect price."1k"Allowed: 1k, 2k, 4k
web_searchbooleanNoWhether to allow the model's supported web-search enhancement when generating the result.false
aspect_ratiostringNoOutput canvas ratio. It controls the composition frame, not the pixel resolution tier."1:1"Allowed: 1:1, 16:9, 9:16, 4:3, 3:4, 2:3, 3:2, 4:5, 5:4, 21:9

Response and task status

A successful submission returns HTTP 202. The response shape is the same for every Artany model; provider-specific task formats are not exposed.

{
  "id": "job_…",
  "object": "generation.job",
  "model": "artany-nano-banana-pro",
  "status": "queued",
  "progress": 0,
  "output": null,
  "error": null,
  "billing": {
    "estimated_credits": "…",
    "frozen_credits": "…",
    "charged_credits": "0",
    "state": "frozen",
    "price_version": "2026-07-18.picverse-parity"
  },
  "created_at": "2026-07-21T00:00:00.000Z",
  "completed_at": null
}
  • queued / running: continue polling.
  • succeeded: retrieve media URLs from output; billing has settled.
  • failed / canceled: inspect error; frozen Credits are released.

Pricing

The price shown for a matching configuration is the fixed amount settled on successful completion. Price version: 2026-07-18.picverse-parity.

countresolutionweb_searchCredits
10.5kany30
10.5ktrue35
11kany45
12kany45
11ktrue50
12ktrue50
20.5kany60
20.5ktrue70
14kany80
14ktrue85
21kany90
22kany90
30.5kany90
21ktrue100
22ktrue100
30.5ktrue105
40.5kany120
31kany135
32kany135
40.5ktrue140
31ktrue150
32ktrue150
24kany160
24ktrue170
41kany180
42kany180
41ktrue200
42ktrue200
34kany240
34ktrue255
44kany320
44ktrue340