Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How to use Eden AI for text generation? What are the exact steps to invoke it?

2025-08-25 1.5 K

Eden AI Text Generation Implementation Steps

Text generation via Eden AI can be categorized into two implementation paths: developer mode and non-developer mode:

Developer mode (API calls)

  1. Generate an exclusive key on the Dashboard API Keys page
  2. Construct the request parameters with reference to the document: parameters such as providers (e.g. ['openai','mistral']), input text, temperature, etc. should be specified.
  3. Send a POST request to the Unified Endpoint (https://api.edenai.run/v2/text/generation)

A typical Python example is shown below:
import requests
data = {
"providers": ["openai"],
"text": "Generating AI Industry Analysis Reports",
"language": "zh",
"max_tokens": 500
}
response = requests.post(url, headers=headers, json=data)

Non-developer mode

  • Enter prompts directly through the dashboard Test API page
  • Select the target model (the platform will automatically recommend models suitable for Chinese)
  • View generation results and adjust parameters in real time

Note: For Chinese scenes, be sure to set the language parameter to zh. Some models have limitations on long text, so it is recommended to process it in paragraphs.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish