NovelAI

by NovelAIImage

Purpose-built illustration, manga, and character art with granular creative controls.

InputPrompttext
Models2available
FlowAsyncresult URL
Price8 quotaper image
Blue-haired fantasy character portrait — crop 1Character portraitCrop 1
Blue-haired fantasy character portrait — crop 2Character portraitCrop 2
Blue-haired fantasy character portrait — crop 3Character portraitCrop 3
Blue-haired fantasy character portrait — crop 4Character portraitCrop 4
Examples

Prompt to image, in context

Example inputnai-diffusion-4-5-full
Prompt

bright blue-haired fantasy character portrait, ornate costume

Model
curated
Size
1024×1024
Example resultExample output

Character portrait

A bright character study with expressive styling, an ornate blue costume, and a clean luminous palette.

Capabilities

What you can build with NovelAI

Prompt driven generation

Submit a concise prompt and get production-ready image output through one TTAPI job.

Core controls only

Keep integration simple with prompt, model, output settings, and callback handling.

Async result flow

Use polling or webhook callbacks so long-running generations do not block your UI.

Ready for product UI

Return NovelAI results that can be displayed, stored, or passed into downstream workflows.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

Image generationOfficial pricing
ModelsPriceUnit
NAI Diffusion 4.5 Full · Curated8 quota/ image
API request

Headers and submit parameters

Use the endpoint below with your TTAPI key and the request fields shown.

Text to imagePOST
/novelai/text-to-image

Submit a NovelAI text-to-image task.

Official reference
Image to imagePOST
/novelai/image-to-image

Transform a reference image with NovelAI.

Official reference
POSThttps://api.ttapi.io/novelai/text-to-image

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

promptstringrequired

Positive illustration prompt.

modelenumrequired

nai-diffusion-4-5-full or nai-diffusion-4-5-curated.

nintegeroptional

Number of images to generate.

widthintegeroptional

Output width in pixels.

heightintegeroptional

Output height in pixels.

stepsintegeroptional

Diffusion step count.

scalenumberoptional

Prompt guidance scale.

negative_promptstringoptional

Elements and qualities to avoid.

quality_togglebooleanoptional

Enable the documented quality preset.

samplerstringoptional

Sampling algorithm.

noise_scheduleenumoptional

karras, exponential, or polyexponential.

character_promptsobject[]optional

Character prompt and position definitions.

vibe_transferobject[]optional

Atmosphere reference images and strengths.

character_referenceobject[]optional

Character and style reference definitions.

hook_urlstringoptional

Callback URL for job completion.

Open the official TTAPI documentation
Integrate

From key to first result

Copy the resolved endpoint, authentication headers, and request body for this model.

curl --request POST \
  --url https://api.ttapi.io/novelai/text-to-image \
  --header 'TT-API-KEY: $TTAPI_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"prompt":"anime character portrait, detailed eyes","model":"nai-diffusion-4-5-curated","n":1,"width":1024,"height":1024,"steps":23,"scale":5,"quality_toggle":true,"sampler":"Euler Ancestral","noise_schedule":"karras","hook_url":"https://example.com/webhooks/novelai"}'