Ai Text Generation avatar
Ai Text Generation

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Ai Text Generation

Ai Text Generation

Generate high-quality text content using AI. Create articles, emails, product descriptions, and more. Powered by advanced language models for natural, engaging content.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Fabio Suizu

Fabio Suizu

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

14 days ago

Last modified

Categories

Share

AI Text Generation - GPT & Claude

Generate, summarize, translate, and rewrite text using advanced AI models. Powered by GPT-4, Claude, and Gemini.

Features

  • Fast Processing: Lightning-fast ai text generation - gpt & claude powered by Azure
  • Reliable: 99.9% uptime with automatic failover
  • Scalable: Handle single requests or bulk operations
  • Secure: Enterprise-grade security with API key authentication
  • Well Documented: Comprehensive API documentation and examples

Use Cases

  • Content Generation: Automate content creation workflows
  • Data Analysis: Extract insights from unstructured data
  • Automation: Integrate AI capabilities into your apps

Input Parameters

ParameterTypeRequiredDescription
actionstringNoType of text generation task
promptstringNoPrompt for text completion
messagesarrayNoMessages for chat completion (array of {role, content} objec
textstringNoText for summarize/translate/rewrite/sentiment
maxTokensintegerNoMaximum tokens to generate
temperaturenumberNoCreativity level (0.0 = focused, 2.0 = creative)
modelstringNoAI model to use (optional, uses best available)
maxLengthintegerNoMaximum summary length in words
sourceLangstringNoSource language code for translation
targetLangstringNoTarget language code for translation
stylestringNoTarget style for rewriting

Output Format

{
"success": true,
"result": { ... },
"timestamp": "2026-01-07T00:00:00Z"
}

Code Examples

JavaScript (Node.js)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const input = {
"action": "complete",
"prompt": "Write a product description for a smart watch",
"messages": [],
"text": "example_text",
"maxTokens": 256,
"temperature": 0.7,
"model": "example_model",
"maxLength": 150,
"sourceLang": "example_sourceLang",
"targetLang": "example_targetLang",
"style": "professional"
};
const run = await client.actor("vivid_astronaut/ai-text-generation").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run_input = {
"action": "complete",
"prompt": "Write a product description for a smart watch",
"messages": [],
"text": "example_text",
"maxTokens": 256,
"temperature": 0.7,
"model": "example_model",
"maxLength": 150,
"sourceLang": "example_sourceLang",
"targetLang": "example_targetLang",
"style": "professional"
}
run = client.actor("vivid_astronaut/ai-text-generation").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

cURL

curl -X POST "https://api.apify.com/v2/acts/vivid_astronaut~ai-text-generation/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"action": "complete",
"prompt": "Write a product description for a smart watch",
"messages": [],
"text": "example_text",
"maxTokens": 256,
"temperature": 0.7,
"model": "example_model",
"maxLength": 150,
"sourceLang": "example_sourceLang",
"targetLang": "example_targetLang",
"style": "professional"
}'

Pricing

Model: Pay per result Price: $0.020 per result

You only pay for successful results. Platform usage costs are included.

API Documentation

Full API documentation is available at:

Support

Version History

See ./CHANGELOG.md for version history.


Powered by Azure Cloud Infrastructure