Skip to main content
Text Generation

Gemini Text Generator

Generate text using Google Gemini models with configurable parameters including temperature, structured output, search grounding, and thinking mode

View details

Inputs

Loading input fields...
Execution Steps

Loading workflow structure...

Loading curated examples...

Overview

Gemini Text Generator turns a prompt into generated text with optional model, system instruction, sampling, structured JSON, search grounding, URL context, code execution, and thinking controls. Use it for copy drafts, transformations, ideation, summarization, and structured text outputs.

Use cases

  • Draft campaign copy, social captions, email variants, or positioning notes from a clear brief.
  • Transform raw notes into summaries, outlines, FAQs, or JSON-shaped outputs for downstream work.
  • Use search, URL context, or code execution when the prompt needs fresh sources, page context, or calculations.

Input tips

  • Put the main task in contents and use system_instruction only for durable tone, role, or format guidance.
  • Choose a model intentionally, or leave the default for general-purpose drafting.
  • Use temperature, top_p, top_k, and max_output_tokens only when you need tighter control.
  • Provide response_json_schema when the answer must be valid JSON; keep the schema concise.
  • Turn on Google Search, URL context, or code execution only when those tools are needed.

Expected output

The AI Tool returns generated text, the model ID used, optional finish reason, usage stats for prompt, completion, total, and cached tokens, plus cost metadata. The web view renders Markdown, lets users switch to raw text, copy the output, expand fullscreen, and inspect token usage.

Caveats

  • Review generated copy before publishing; the AI Tool does not guarantee factual accuracy or brand approval.
  • Search-grounded or URL-context outputs still need source review, especially for public claims.
  • Invalid JSON schema may be ignored; structured output can conflict with some grounding modes.
  • High thinking, tool use, or long max output settings can increase latency and token use.
  • Token limits and finish reasons can affect completeness.