Asynchronous Paper Generate
Asynchronous API for Generating Papers in an AI Writing Tool Request
Example:Bearer {{YOUR_API_KEY}}
Body Params application/json
Country Code, used to specify the language of the returned information. e.g., zh, en, ja
include_domains
array[string]
optionalWhitelist of Search Websites
exclude_domains
array[string]
optionalBlacklist of Search Websites
considered_personas
array[string]
optionalCustom Expert Perspective List
output_content_type
string
optionalCustom article type,eg: Research Paper, Blog, Speech
{
"query": "AI的应用",
"language": "zh",
"model": "gpt-4o-mini",
"include_domains": [
"https://xxx.com"
],
"exclude_domains": [
"https://xxx.com"
],
"considered_personas": [
"基本事实作家:一位专注于广泛涵盖关于topic的基本事实的基本事实作家。"
]
}
Request samples
curl --location --request POST 'https://api.302.ai/302/paper/async/chat' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "AI的应用",
"language": "zh",
"model": "gpt-4o-mini",
"include_domains": [
"https://xxx.com"
],
"exclude_domains": [
"https://xxx.com"
],
"considered_personas": [
"基本事实作家:一位专注于广泛涵盖关于topic的基本事实的基本事实作家。"
]
}'
Responses
application/json Modified at 2024-12-17 10:01:28