Practical guides to leverage Gemini's language capabilities for content creation, translation, reasoning, and more.
Jump to TutorialsGenerate compelling content for stories, marketing, or creative writing. Learn how to specify tone, audience, and style.
{`Prompt: "Write a 300-word fantasy short story with a dragon-slaying knight protagonist in a dark medieval tone."`}Read Tutorial ➡️
Translate text across 100 languages while preserving context. Best practices for documents, websites, and dialogue.
{`Prompt: "Translate this French paragraph into Spanish while preserving legal terminology."`}Start Translating ➡️
Distill research papers, articles, or reports into key points. Get accurate technical summaries with proper citations.
{`Prompt: "Summarize this 20-page medical research article with bullet points of key findings."`}Create Summary ➡️
Ask complex questions and get data-driven answers. Learn multi-step reasoning for technical, scientific, and business problems.
{`Prompt: "Analyze this dataset of historical stock prices and predict next quarter trends."`}Try Reasoning ➡️
Master techniques for creating precise prompts. Learn how to specify constraints, examples, and formatting rules for better results.
See Prompt PatternsLearn to refine results with follow-up questions. Improve code quality, clarify content, and optimize translations through iterative prompting.
Refinement ExamplesDefine the model's role in your prompt for better results. Use personas like "scientific advisor" or "copywriter" to shape outputs.
{`"Act as a technical writer specializing in cybersecurity documentation. Explain the following concept..."`}
Include examples in your prompts to clarify what you want. Show input/output pairs to guide the model's understanding.
{`Given these two examples of product descriptions, rewrite the following text in the same style:"`}
Break down complex tasks into steps. Ask the model to reason through a problem before providing the solution.
{`Explain how to approach this problem in 3 logical steps, then provide the solution.`}
Add constraints to focus results. Specify requirements like word count, format, or technical depth.
{`Write a 200-word summary in bullet points, using technical terms where appropriate.`}
{`curl -X POST https://api.gemini.com/v1/complete \\
-H "Authorization: Bearer YOUR_API_KEY" \\
-H "Content-Type: application/json" \\
-d '{
"prompt":"Explain quantum computing in simple terms",
"language_model":"Gemini-Pro"
}'`}
Practice with real examples, learn advanced prompting techniques, and explore Gemini's language capabilities today.
Start Your Language Journey