πŸ₯ž
Glif Docs/Guide
  • Getting Started
    • πŸ‘‹What is Glif?
    • πŸ’‘What can I do with a glif?
      • πŸƒRun a glif
      • πŸ”ŒBuild a glif
      • πŸ”€Remix a glif
      • πŸ—£οΈComment on a glif
      • πŸ”³Embed a glif
    • βš’οΈHow do I build a glif?
      • πŸ“½οΈVideo tutorial: Building a simple image generator
      • 🟰Using variables
    • βš™οΈProfile Settings
    • πŸͺ™Credits and Payments
    • ❓FAQs
  • Blocks
    • πŸ™‹Inputs
      • ✍️Text Input Block
      • πŸ–ΌοΈImage Input Block
      • πŸ“‹Multipick Block
    • πŸͺ„Generators
      • πŸ“ƒText Block
      • πŸ–ΌοΈImage Block
      • ➑️Image to Text Block
        • Florence2Sam2Segmenter
    • 🧰Tools
      • πŸ”€Text Combiner Block
      • πŸ”¬JSON Extractor Block
    • πŸ’…Styling
      • 🎨HTML Block
      • πŸ–ΌοΈCanvas Block
    • πŸ§‘β€πŸ”¬Advanced/Experimental
      • πŸŽ™οΈAudio Input Block
      • ↔️Glif Block
      • 🌐Web Fetcher Block
      • πŸ”ŠAudio Spell
      • 🧱ComfyUI Block
      • πŸ“‘Audio to Text Block
      • πŸŽ₯Video Input Block
      • πŸ”§JSON Repair Block
  • Apps
    • 🎨Glif It! Browser Extension
  • Glif University
    • πŸŽ₯Video Tutorials
      • 🐲How To: D&D Character Sheet Generator
      • 🧠How To: Expanding Brain Meme Generator
      • πŸ¦‘How To: Occult Memelord Generator
      • πŸ₯ΈHow To: InstantID Portrait Restyle Glif
      • πŸ•ΊHow To: Style and Pose a Character with InstantID + Controlnet
      • 😱How To: Create a Simple Cartoon Portrait Animation Glif (LivePortrait + Custom Blocks)
      • πŸ‘—How to Create a Clothing Restyler App (IP Adapter, ControlNet + GPT Vision)
      • 🀑How to Create a 4+ Panel Storyboard/Comic (Flux Schnell)
      • πŸŽ‚How to Create a Recipe Generator with Accompanying Pictures
      • How to Use JasperAI Depth Controlnet on Flux Dev
      • πŸ¦Έβ€β™‚οΈHow to Make a Consistent Comic Panel Generator
    • πŸ§‘β€πŸ«Prompt Engineering 101
    • πŸ–ΌοΈControlNet
    • πŸ“šAI Glossary
  • API - for Developers
    • ⚑Running glifs via the API
    • πŸ€–Using AI Assistants to build with the Glif API
    • πŸ“™Reading & writing data via the API
    • πŸ—ΎGlif Graph JSON Schema
    • πŸ“«Embed player & custom webpages
    • πŸ“«Sample code
    • ❓What can I make with the Glif API?
      • Browser Extensions
      • Discord Bots
      • Games
      • Social Media Bots
      • Experimental Projects
  • Policies
    • πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦Community Guidelines
  • Programs
    • πŸ–ΌοΈLoradex Trainer Program
  • Community Resources
    • πŸ§‘β€πŸ€β€πŸ§‘Resources Created by Glif Community Members
  • Contact Us
    • πŸ“£Send us your feedback
    • πŸš”Information for law enforcement
Powered by GitBook
On this page
  1. Blocks
  2. Generators

Text Block

Text blocks generate text based on a text prompt.

PreviousGeneratorsNextImage Block

Last updated 4 months ago

Title

  • Click the pencil icon next to the block’s title to edit it. This is also the block’s variable name, which can be used to dynamically populate data in other blocks.

Prompt

  • Write a prompt that guides the AI to generate your desired text.

    • Use variables within your prompt to dynamically add data from other blocks.

System Prompt

Variables

Variables can be used to dynamically populate data supplied by other blocks. Click on a variable name from the list to add it to anywhere in your prompt. Variable names match a block’s title.

Text Output

Use the slider to amp up the creativity of the text output from β€œPredictable” to β€œInsane.”

Model

Select which text generation model you’d like your glif to use.

The text models that we currently support (as of 12/10/24) include:

Chat GPT-3.5 Turbo

Chat GPT-4

Chat GPT-4o

Claude 3 - Haiku

Claude 3 - Opus

Claude 3 - Sonnet

Claude 3.5 - Haiku

Claude 3.5 - Sonnet

DeepSeek Coder

Gemini Flash 1.5

Gemini Pro 1.5

Gemma-7b-it

Gemma2-9b-it

Hermes 3

Llama 3

Llama-3.2-3b-instruct

Llama-3.3-70b-instruct

Llama3 Sonar 70B Online

Llama3 Sonar 8B Online

Llama3-70b-8192 on groq

Llama3-8b-8192 on groq

Llama3.1 Sonar 70B Online

Llama3.1 Sonar 8B Online

Mistral Large

Mixtral-8x7b-32768

Sonar Medium Online

WizardLM-2-8x22b

Advanced Text Block Controls

Max Tokens

Tokens are the individual units of text that the model processes. One token equals approximately four characters in the English language. More tokens = more characters in the output.

Seed

The "seed" is the starting number used to generate random outputs. It serves as a specific starting point for the randomization process. Identifying a specific seed will produce similar final results for each run.

A system prompt for an LLM is a set of instructions or context given to the model at the beginning of an interaction to guide its behavior, set parameters for the conversation, or provide background information for its responses. The default system prompt is "You are a helpful assistant." However, you can define a more specific system prompt for your needs, such as

πŸͺ„
πŸ“ƒ
"You are simulating a most unhinged Wojak meme creator ..."