Create an API key
Sign in to Mixfont, then create a key in the Developer Console. Send the key in thex-api-key header for every API request, or make sure to include it when using the respective client libraries.
Add credits
To get started with calling the API, you’ll need to add credits to your account. You can easily add credits in the Mixfont developer console. These credits will be attached to your API key and consumed when you make requests to the API.Generate a font from an image
Use a publicly accessible image URL as a visual reference for the font style you’d like.id and polling URL. Poll until status is succeeded, then download the generated TTF from the response. In this case, the output TTF for this reference image looks like this:
| Input | Output |
|---|---|
![]() | Gossamer-Editorial-Serif.ttf |
Generate a font from a prompt
id and polling URL. Poll until status is succeeded, then download the generated TTF from the response. In this case, the output TTF for this prompt looks like this:
Request details
standard generations include 72 glyphs for English with basic letters, numbers, and punctuation. They take on average around 25 seconds.
extended generations include 319 glyphs for all Latin languages, including special characters. They cost more credits and may take 2-3 minutes to complete.
Best Practices
Learn prompt, glyph set, polling, storage, and API key handling practices.


