API Reference

Generate completion

Description

Interact with the LLM model using a completions interface. The LLM model will generate a text completion based on the provided prompt.

{
    "model": "gpt-4o",
    "prompt": "What is the capital of France?"
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!