Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Use the Mixfont JavaScript client
fetch
npm install mixfont
import { Mixfont } from "mixfont"; const mixfont = new Mixfont({ apiKey: process.env.MIXFONT_API_KEY, }); const generation = await mixfont.generations.create({ prompt: "a cute and bubbly font", glyphSet: "standard", }); const result = await mixfont.generations.wait(generation.id); console.log(result.ttfUrl);
const generation = await mixfont.generations.create({ imageUrl: "https://images.example.com/reference-wordmark.png", glyphSet: "standard", });
mixfont.generations.create(options)
mixfont.generations.get(id)
mixfont.generations.wait(id, options)
prompt
imageUrl
string
glyphSet
"standard"
"extended"
standard
extended
id
name
ttfUrl
null
status
preparing
queued
running
succeeded
cancelled
failed
inputType
text
image
progressPercent
number
0
100
pollUrl
error
createdAt
intervalMs
5000
timeoutMs
600000
signal
AbortSignal