Ocoya API
Search
K

Create AI copy

Create an AI copy using our templates.
post
https://app.ocoya.com/api/_public/v1
/copy
Create an AI copy using our templates

Returns created AI copy texts.

Parameters
No parameters
Body
Example
Schema
{
"caption": "Write me a post about Ocoya - a social media automation tool",
"format": "google-ad",
"amount": 1,
"inputLanguage": "en",
"outputLanguage": "zh"
}
Responses
200: OK
Success
500: Internal Server Error
Unknown error

Request parameters

Parameter
Type
Required
Information
caption
string
yes
Up to 10,000 characters
format
string
no
Format value from here
amount
integer
no
Number between 1 - 5
inputLanguage
string
no
Code value from here
outputLanguage
string
no
Code value from here

Sample response

1
{
2
"results": [
3
{
4
"text": "标题1:节省时间,提高参与度。\n标题2:使用Ocoya使您的社交媒体自动化。\n描述1:厌倦了在重复的社交媒体任务上花费时间?让Ocoya为你做这些工作,而你专注于创造有吸引力的内容。\n描述2:通过Ocoya的自动化工具,你可以在一个地方安排帖子,监测你的分析,并与你的粉丝互动。现在就试试吧,看看有什么不同!",
5
"rating": 91,
6
"inputLanguage": "en",
7
"outputLanguage": "zh"
8
}
9
]
10
}

Response parameters

Parameter
Type
Description
text
string
Generated AI copy
rating
integer
Uniqueness score using AI
inputLanguage
string
Input language
outputLanguage
string
Output language