Fireworks yukataExample 01nai-diffusion-4-5-curated
NAI Diffusion 4.5 Curated is a NovelAI image generation API on TTAPI. Create illustration, manga, and character art with prompts, negative prompts, and references.
Fireworks yukataExample 01
Silver-haired scholarExample 02
Pastel cat girlExample 03
Tidal-wave octopusExample 04Prompt to image, in context
1girl, yukata, peace sign, fireworks, night, sparkles, watercolor, painterly, smile
solo, no humans, octopus, sunglasses, chibi, disgustingly adorable, lifebuoy, sun hat, tidal wave, traditional media, calligraphy brush (medium), no lineart, flat color, motion blur, from side, location
2girls, text, english text, location, -1::monochrome, speech bubble, simple background ::, looking at another, masterpiece, best quality, rating:general. The blonde girl is excitedly asking "How are you?" and the purple haired girl is responding "Fine, thanks" with a bored expression on her face. Text: How are you? Fine, thanks | 1girl, purple eyes, short hair, ruffled blouse, red blouse, blonde hair, green scarf, blunt bangs, fang, small breasts, long sleeves, bob cut | 1girl, very long hair, purple hair, curly hair, golden shirt, full body, green eyes, turtleneck sweater, sleeveless turtleneck, side braid, medium breasts, sleeveless
1girl, masterpiece, best quality, dynamic angle, close-up, long eyelashes, grey gradient hair, silver hair, ahoge, medium updo, thick eyebrows, hair between eyes, ponytail, pink blush, grey eyes, pink eyeshadow, smug, pink lips, glossy lips, short hair, white hair, messy hair, medium hair, ponytail, makeup, pink makeup, dark blue top, high ponytail, puffy hair, hair focus, very aesthetic, location, masterpiece, library background, location
1boy, high quality, {{masterpiece, very aesthetic}}, {traditional media}, dynamic pose, dynamic angle, glitter, handsome, male focus, broad shoulders, [smug, painterly], year 2020, broad shoulders, exquisite clothes, abstract background, royalty, beautiful young man, scepter, young, location
1girl, character focus, close-up to the girl, cover illustration, three quarter view, key visual, from below, star-shaped pupils, knee bent, jumping, dutch angle, cowboy shot, anime coloring, wearing flowing blonde hair, glowing aura covering whole body, rim lighting, sunlight, cinematic color grading, wearing multi-layered blue and white tone long dress, off shoulder, princess crown, dramatic cloudy blue sky, floating, -3::simple illustration::, -2::simple background::, -3::minimalism::, year 2024, 1.3::pale color::, overexposure, magnificent scenery, large title text on the bottom of the frame, Title says "NAI Diffusion V4.5Curated". Text: NAI Diffusion V4.5 Curated
1girl, cat girl, topknot, light blue hair, orange eyes, skinny, freckles, black skirt, tan, red tank top, bar, bored, feet out of frame, traditional media, pastel (medium), depth of field, location
1girl, best quality, firefly princess, castle background, dark, wing crown, dress flower, glowing, butterfly hair ornament, flowers, petals, artbook, muted colors, watercolor pencil (medium), red light, looking away, nose, location
1girl, very aesthetic, best quality, amazing quality, colorful, cowboy shot, magic, swirls, sword, scabbard, holding book, pointing, open book, knight, long bangs, armor, gauntlets, wizard, witch hat, hat feather, feather, robe, quilted vest, leather belt, leather pouch, serious, medieval, forest, white hair, blue eyes, shaded face
What you can build with nai-diffusion-4-5-curated
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-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"}'