Gothic candlelightExample 01nai-diffusion-4-5-full
NAI Diffusion 4.5 Full is a NovelAI image generation API on TTAPI. Create illustration, manga, and character art with prompts, negative prompts, and references.
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, 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
1.5::amazing quality::,1.5::masterpiece::,year 2025,2girls, multiple girls, blue hair, long hair, ponytail, blue eyes, pointy ears, elf, sitting, lap pillow, purple hair, closed eyes, sleeping, smile, peaceful, flowers, flower field, outdoors, fantasy, armor, blue dress, white dress, striped, knee up, leaning against wall, wooden wall, sunlight, soft lighting, warm lighting, wholesome, relaxed, friendship, anime, detailed background, nature, grass, pink flowers, white flowers, serene, tranquil, afternoon, golden hour , location, very aesthetic, masterpiece, no text
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
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, cat girl, cat ears, pink hair, short hair, [[blue eyes]], school uniform, holding chalk, chalk, writing, classroom, chalkboard, text, english text. Writing on chalkboard can be seen saying "V4.5 Full" along with a heart, right next to the girl's head., location, very aesthetic, masterpiece, no text Text: V4.5 Full
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.
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
background dataset, best quality, very aesthetic, concept art, no lines, rating:general, 1::thick brushstrokes::, 2::simple is best::, no humans, scenery, amazing quality, very aesthetic, a vibrant coastline, colored clouds, red clouds, purple clouds, pink clouds, water, beach, land on the right, ocean on the left, wispy clouds, location, very aesthetic, masterpiece, no text
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-5-full, nai-diffusion-5-curated, nai-diffusion-4-5-full, or nai-diffusion-4-5-curated. Defaults to nai-diffusion-5-curated.
nintegeroptionalNumber of images to generate, from 1 to 4. Defaults to 1.
widthintegeroptionalOutput width in pixels. Defaults to 1024.
heightintegeroptionalOutput height in pixels. Defaults to 1024.
seedstringoptionalSeed used to reproduce or vary a generation.
stepsintegeroptionalDiffusion step count. Defaults to 23.
scalenumberoptionalPrompt guidance scale. Defaults to 5.
negative_promptstringoptionalElements and qualities to avoid.
quality_togglebooleanoptionalEnable the documented quality preset. Defaults to true.
samplerenumoptionalEuler Ancestral, Euler, DPM++ 2S Ancestral, DPM++ 2M SDE, DPM++ 2M, or DPM++ SDE. Defaults to Euler Ancestral.
noise_scheduleenumoptionalkarras, exponential, or polyexponential. Defaults to karras.
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"}'