Actions3
- AI Generation Actions
- Model Actions
- Usage Actions
AI Generation → Generate
AI-generatedSummary
Generate AI marketing text based on a model, input segment, and optional options.
Inputs
- product (required) — The AI model to use for generation. Choose from the list, or specify an ID using an expression.
- segment (required) — The input text / query to process
- additionalOptions — Optional configuration for generation, such as session ID or processing type.
Output shape
An array of items containing the AI generation response
The response includes the generated text; optional fields like sessionId and processingType may be included based on the provided additional options.
Examples
Example 1: Create a product tagline
model: gpt-3.5, segment: "I need a catchy tagline", additionalOptions: {"sessionId": "123e4567-e89b-12d3-a456-426614174000", "processingType": "default"}