Fireworks AI
communityFast AI inference platform for open-source and fine-tuned models with OpenAI-compatible API.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://api.fireworks.ai/inference/v1/chat/completionsGenerate text
Parameters
modelaccounts/fireworks/models/llama-v3p3-70b-instruct (stringrequiredmessagesconversation array (arrayrequiredmax_tokensmax tokens (integeroptionaltemperature0-2 (numberoptionalReturns
choices[] with message.content, usage with prompt_tokens, completion_tokensPOST
https://api.fireworks.ai/inference/v1/images/generationsGenerate images
Parameters
nnumber of images (integeroptionalsize1024x1024 (stringoptionalmodelaccounts/fireworks/models/flux-1-schnell-fp8 (stringrequiredpromptimage description (stringrequiredReturns
data[] with url or b64_jsonPOST
https://api.fireworks.ai/inference/v1/embeddingsGenerate text embeddings
Parameters
inputtext or text array (string|string[]requiredmodelnomic-ai/nomic-embed-text-v1.5 (stringrequiredReturns
data[] with embedding (float[]), usage