Language Reference

AskGL — The Language of Promptha

AskGL is a simple command language that gives you precise control over AI generation. Use slash commands, model selectors, and variables to create exactly what you need.

What is AskGL?

Slash Commands

Start with a command like /image or /video to tell Promptha what to generate.

Model Targeting

Use @provider.model to select specific AI models for your generation.

Composable

Chain commands together, reference previous outputs with @last, and build complex workflows.

Core Commands

/image

Generate images from text descriptions

/image a sunset over mountains
/video

Create video clips from prompts

/video drone flyover of coastal city
/audio

Generate speech, music, or sound effects

/audio narrate "Welcome to our channel"
/write

Write long-form content with structure

/write blog post about AI trends
/edit

Modify and refine existing content

/edit make this more concise

Syntax Elements

@provider.model

Target a specific AI model

@openai.gpt-4o
@last

Reference the previous output

/edit @last make it shorter
$variable

Use variables in templates

Write about $topic for $audience
!flag

Set generation flags

!hd !wide /image landscape

Example Snippets

Generate an image with a specific model

@fal.flux-1.1-pro /image a minimalist logo for a coffee shop, white background

Create a video from text

@google.veo-3.1 /video cinematic drone shot over a tropical island at sunset

Chain outputs together

/write a product description for a smart watch
@last /edit make it more persuasive and add a CTA

Try AskGL Now

Open Promptha and start typing commands to see AskGL in action.

Open Promptha