EUrouter icon

EUrouter

Interact with the EUrouter API

Actions4

Completion → Create

AI-generated

Summary

Create a text completion by sending a prompt to the specified model via the EUrouter API.

Inputs

  • Model (required) — Model ID to use for the completion
  • Prompt (required) — Prompt text to complete
  • Additional Parameters — Additional JSON fields to include in the request body, such as temperature, max_tokens, or stop sequences
  • Request Options — Settings to customize the HTTP request, including batching behavior, SSL certificate validation, proxy configuration, and timeout duration

Output shape

a single API response object containing the completion result

The operation sends a POST request to '/completions' with the model, prompt, and any additional parameters merged into the request body. The response includes the generated completion from the specified model.

Links

Discussion