> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Textcortex

> TextCortex offers an AI-powered text generation API that enables developers to integrate advanced language models into their applications for tasks such as content creation, paraphrasing, and more.

![Textcortex logo](https://mintcdn.com/composio-preview/IA0_SoMcsWt17HEC/images/toolkits/textcortex.svg?fit=max\&auto=format\&n=IA0_SoMcsWt17HEC\&q=85\&s=4b25dd9a701c45ff7141c53e6277d74f)

* **Category:** artificial intelligence
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 7
* **Triggers:** 0
* **Slug:** `TEXTCORTEX`
* **Version:** 20261101\_00

## Tools

> [accordion] Create Product Title
>
> **Slug:** `TEXTCORTEX_CREATE_PRODUCT_TITLE`
>
> Tool to generate catchy product titles for listings. Use when you need to create compelling titles for product listings or descriptions.
>
> #### Input Parameters
>
> **n** `integer`
>
> The number of outputs to generate (default: 1).
>
> **name** `string`
>
> Name of the product.
>
> **brand** `string`
>
> Brand of the product.
>
> **model** `string`
>
> Model specification to use for generation.
>
> **category** `string`
>
> Category of the product.
>
> **keywords** `array`
>
> Keywords to include in the product description.
>
> **formality** `string`
>
> Tone/style preference for the generated title.
>
> **max\_tokens** `integer`
>
> The maximum number of tokens to generate (default: 2048).
>
> **description** `string`
>
> Features of the product.
>
> **source\_lang** `string`
>
> Source language (defaults to English). ISO language code.
>
> **target\_lang** `string`
>
> Target language for output. ISO language code.
>
> **temperature** `number`
>
> Controls output randomness (0.0 to 1.0).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Social Media Post
>
> **Slug:** `TEXTCORTEX_CREATE_SOCIAL_MEDIA_POST`
>
> Tool to generate engaging social media posts for Twitter and LinkedIn. Use when you need to create platform-specific content with appropriate tone, length, and formatting.
>
> #### Input Parameters
>
> **n** `integer`
>
> Number of different post variations to generate (default: 1). Useful when you want multiple options to choose from.
>
> **mode** `string ("twitter" | "linkedin")` *required*
>
> Target social media platform for the post. Determines the style, tone, and format of the generated content.
>
> **model** `string`
>
> Model identifier to use for generation (e.g., 'gpt-4o'). If not specified, uses the default model.
>
> **context** `string` *required*
>
> The context or main idea for the social media post. Provide details about what the post should be about, key messages, or any specific information to include.
>
> **keywords** `array`
>
> List of keywords or hashtags to include in the post. These will be naturally integrated into the generated content.
>
> **formality** `string`
>
> Tone or formality level for the post (e.g., 'formal', 'casual', 'professional'). Influences the writing style and language used.
>
> **max\_tokens** `integer`
>
> Maximum number of tokens to generate (default: 2048). Controls the length of the output.
>
> **source\_lang** `string`
>
> Language of the source context (ISO code, e.g., 'en', 'es', 'fr'). Default is 'en'.
>
> **target\_lang** `string`
>
> Target language for the generated post (ISO code). If different from source\_lang, the post will be translated.
>
> **temperature** `number`
>
> Sampling temperature for output variation (0.0 to 1.0). Higher values produce more creative/random outputs, lower values are more deterministic.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Video Description
>
> **Slug:** `TEXTCORTEX_CREATE_VIDEO_DESCRIPTION`
>
> Generate video descriptions from a title and context, with optional keywords and tone. YouTube is the available platform mode.
>
> #### Input Parameters
>
> **n** `integer`
>
> The number of video description outputs to generate (default: 1).
>
> **mode** `string ("youtube")`
>
> Video platform mode for description generation.
>
> **model** `string`
>
> The model identifier to use for generation.
>
> **title** `string` *required*
>
> The title of the video for which to generate the description.
>
> **context** `string` *required*
>
> Topic, target audience, and other details about the video to help generate an appropriate description.
>
> **keywords** `array`
>
> List of keywords to include in the video description for SEO purposes.
>
> **formality** `string`
>
> The formality level or tone for the generated description (e.g., 'formal', 'casual', 'professional').
>
> **max\_tokens** `integer`
>
> The maximum number of tokens to generate (default: 2048).
>
> **source\_lang** `string`
>
> The language of the source context and title (ISO code, e.g., 'en', 'auto').
>
> **target\_lang** `string`
>
> The desired output language for the description (ISO code, e.g., 'en', 'es', 'fr').
>
> **temperature** `number`
>
> The sampling temperature for text generation (0.0 to 1.0). Higher values make output more creative.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Generate Code
>
> **Slug:** `TEXTCORTEX_GENERATE_CODE`
>
> Tool to generate code for a given programming language. Use when you need to create code snippets, functions, or algorithms in specific programming languages.
>
> #### Input Parameters
>
> **n** `integer`
>
> Number of code completions to generate (default: 1).
>
> **mode** `string` *required*
>
> The programming language to generate code in (e.g., python, javascript, java, sql, go, rust, php, typescript, c++, c#).
>
> **text** `string` *required*
>
> The code description or prompt to generate code from. Describe the functionality you want to implement.
>
> **model** `string`
>
> The model to use for code generation (e.g., icortex-1, sophos-1).
>
> **max\_tokens** `integer`
>
> Maximum number of tokens to generate in the response.
>
> **temperature** `number`
>
> Sampling temperature for generation (0.0 to 1.0). Higher values make output more random.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Generate Email
>
> **Slug:** `TEXTCORTEX_GENERATE_EMAIL`
>
> Tool to generate email body and subject based on provided details. Use when you need to compose or personalize an email from a prompt.
>
> #### Input Parameters
>
> **context** `string` *required*
>
> Main prompt or context for generating the email. Include details like recipient, purpose, tone preference, and any specific information to include.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Summarize Text
>
> **Slug:** `TEXTCORTEX_SUMMARIZE_TEXT`
>
> Summarize longer content from supplied text or a file ID.
>
> #### Input Parameters
>
> **n** `integer`
>
> The number of outputs to generate (default: 1).
>
> **mode** `string`
>
> Mode for summarization: 'default' or 'embeddings'.
>
> **text** `string`
>
> The text to summarize. Either text or file\_id must be provided.
>
> **model** `string`
>
> Model identifier to use for summarization.
>
> **file\_id** `string`
>
> ID of the file to summarize. Either text or file\_id must be provided.
>
> **formality** `string`
>
> Tone/style parameter for the summary.
>
> **max\_tokens** `integer`
>
> The maximum number of tokens to generate (default: 2048).
>
> **source\_lang** `string`
>
> The language of the source text (ISO code, e.g., 'en', 'auto').
>
> **target\_lang** `string`
>
> The desired output language (ISO code, e.g., 'en', 'es', 'fr').
>
> **temperature** `number`
>
> The sampling temperature for text generation (0.0 to 1.0).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Translate Text
>
> **Slug:** `TEXTCORTEX_TRANSLATE_TEXT`
>
> Tool to translate text into another language. Use when you need to translate content between different languages. Supports 72+ languages with auto-detection capability.
>
> #### Input Parameters
>
> **n** `integer`
>
> Number of translation variations to generate (default: 1).
>
> **text** `string` *required*
>
> The text to translate.
>
> **model** `string`
>
> Model identifier to use for translation.
>
> **max\_tokens** `integer`
>
> Maximum number of tokens to generate.
>
> **source\_lang** `string`
>
> Source language code (ISO code, e.g., 'en', 'es'). Auto-detected if not provided.
>
> **target\_lang** `string` *required*
>
> Target language code to translate to (e.g., 'es' for Spanish, 'fr' for French, 'de' for German).
>
> **temperature** `number`
>
> Sampling temperature for generation (0.0 to 1.0).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
