Gothic candlelightExample 01nai-diffusion-4-5-full
nai-diffusion-4-5-full is available through TTAPI. Purpose-built illustration, manga, and character art with granular creative controls.
Gothic candlelightExample 01
Crimson samuraiExample 02
Fox knight and wizardExample 03
Cyborg ninjaExample 04Prompt to image, in context
1girl, black dress, reaching out, candlelight, victorian room, gothic, shadows, textured paint, looking at viewer
1boy, masterpiece, best quality, dynamic angle, scar across eye, handsome, male focus, broad shoulders, smug, white hair, manly, long face, strong chin, long hair, silver hair, ponytail, parted bangs, red scabbard, samurai knight armor, red eyes, red armor, red headband, gold trim, skinny, tall male, young, dramatic sword pose, red cloudy sky, from below, monochrome, moon, very aesthetic, location, masterpiece, no text, -0.8::feet::, rating:general
2girls, multiple girls, deformed, very big eyes, white pupils, colored lineart, painterly, soft style, pastel colors, year 2025, location. Character 1: girl, furry female, fox girl, armor, sword, large breasts, :3, fang. Character 2: girl, wizard, wizard hat, staff, flat chest, :o, elf.
1boy, 1.5::amazing quality::, 1.5::masterpiece::, year 2025, solo, armor, helmet, mask, cyborg ninja, black hair, spiky hair, holding sword, katana, weapon, action pose, dynamic angle, motion blur, speed lines, orange accents, white armor, black bodysuit, mechanical, futuristic, cyberpunk, sparks, particles, bokeh, depth of field, dramatic lighting, warm lighting, sunset, combat, battle, science fiction, detailed armor, mecha, ninja, warrior, glowing, energy blade
2boys, outdoors, brick wall, blue sky, contrail, cowboy shot. Character 1: boy, leather jacket, chains, mutual#fist bump, grin, black eyes. Fist bump with spark. Character 2: boy, white shirt, torn shirt, mutual#fist bump, grin, brown eyes. Fist bump with spark.
1girl, muscular female, faceless, tall female, long ponytail, white hair, large hat, silver dress, white gloves, glowing skin, glowing hair, dutch angle, wide shot, grand scale, ruins, sand castle, night sky, traditional media, painting (medium), painterly, location
What you can build with nai-diffusion-4-5-full
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.
Per-action, in quota
Usage is metered in quota by model, action, and output settings.
Headers and submit parameters
Use the endpoint below with your TTAPI key and the request fields shown.
/novelai/text-to-imageSubmit a NovelAI text-to-image task.
Official reference/novelai/image-to-imageTransform a reference image with NovelAI.
Official reference/novelai/fetchRetrieve the generated NovelAI task result.
Official referenceHeaders
TT-API-KEYstringrequiredYour TTAPI API key.
Content-TypestringrequiredUse application/json.
Body
promptstringrequiredPositive illustration prompt.
modelenumrequirednai-diffusion-4-5-full or nai-diffusion-4-5-curated.
nintegeroptionalNumber of images to generate.
widthintegeroptionalOutput width in pixels.
heightintegeroptionalOutput height in pixels.
stepsintegeroptionalDiffusion step count.
scalenumberoptionalPrompt guidance scale.
negative_promptstringoptionalElements and qualities to avoid.
quality_togglebooleanoptionalEnable the documented quality preset.
samplerstringoptionalSampling algorithm.
noise_scheduleenumoptionalkarras, exponential, or polyexponential.
character_promptsobject[]optionalCharacter prompt and position definitions.
vibe_transferobject[]optionalAtmosphere reference images and strengths.
character_referenceobject[]optionalCharacter and style reference definitions.
hook_urlstringoptionalCallback URL for job completion.
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-full","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"}'