Your customers can write content with our AI-powered content generation API. They can write emails, blog posts, social media posts and more, in various languages and tones!
Characters | Price |
---|---|
0-10k | Free |
10k-1M | $0.75/10k characters |
1M-10M | $0.70/10k characters |
10M-100M | $0.65/10k characters |
>100M | $0.60/10k characters |
Your card will be billed for usage worth of every $25.
Head over to Accounts → API section and get the API key.
Get list of languages
curl \
-H "Authentication: Bearer <API KEY>" \
-H "Content-Type: application/json" \
-X GET https://api.rytr.me/v1/languages
Get list of tones
curl \
-H "Authentication: Bearer <API KEY>" \
-H "Content-Type: application/json" \
-X GET https://api.rytr.me/v1/tones
Get list of user voices
curl \
-H "Authentication: Bearer <API KEY>" \
-H "Content-Type: application/json" \
-X GET https://api.rytr.me/v1/voices
Get list of use-case
curl \
-H "Authentication: Bearer <API KEY>" \
-H "Content-Type: application/json" \
-X GET https://api.rytr.me/v1/use-cases
Get detail of particular use-case
curl \
-H "Authentication: Bearer <API KEY>" \
-H "Content-Type: application/json" \
-X GET https://api.rytr.me/v1/use-cases/<USE-CASE ID>
Generate content using AI
curl \
-H "Authentication: Bearer <API KEY>" \
-H "Content-Type: application/json" \
-d '{"languageId": "<LANUGAGE ID>", "toneId": "<TONE ID>", "voiceId": "<VOICE ID>", "useCaseId": "<USE-CASE ID>", "inputContexts": {"<USE-CASE CONTEXT-INPUT KEY-LABEL>": "<VALUE>"}, "variations": 1, "userId": "<UNIQUE USER ID>", "format": "html", "creativityLevel": "default", "translate": "ai"}' \
-X POST https://api.rytr.me/v1/ryte
Supply either toneId
or voiceId
, not both.
Supported formats format
= html
| text
Supported creativity levels creativityLevel
= default
| none
| low
| medium
| high
| max
Translation translate
= ai
| standard
You can request upto maximum 3 variants per request, i.e. variations
= 1 to 3
For userId
you need to supply user ID from your database, eg: primary key for users
database table. As a consumer of Rytr API, we assume you have a product/service yourself with user and since they'll be exposed to the Rytr API via your service, we need to track a unique key for each user from your database. It doesn't necessarily need to be a primary key, it can be any unique key generated for each user.
Get usage for current billing period
curl \
-H "Authentication: Bearer <API KEY>" \
-H "Content-Type: application/json" \
-X GET https://api.rytr.me/v1/usage
Create custom use-case and submit for approval.
curl \
-H "Authentication: Bearer <API KEY>" \
-H "Content-Type: application/json" \
-d '{"name": "<NAME>", "inputName": "<INPUT NAME>", "inputPlaceholder": "<INPUT PLACEHOLDER>", "outputExample": "<OUTPUT EXAMPLE>"}' \
-X POST https://api.rytr.me/v1/custom-use-cases/create
Please reach out to us via live chat on website or via email (support@rytr.me)