Getting Started
Learn the basics of AskGL and generate your first content in minutes.
Your First Command
The simplest AskGL command uses a slash command followed by your prompt:
/image a sunset over mountains
This generates an image using the default model. Simple as that.
Selecting a Model
Use @provider.model to choose a specific AI model:
/image @promptha.flux-schnell a sunset over mountains
# Uses Promptha's Flux Schnell route
Available providers include:
@promptha- Promptha-routed image, video, audio, and design models@openai- GPT models@anthropic- Claude models@google- Gemini models
Adding Parameters
Use $key:value to configure output settings:
/image $width:1920 $height:1080 a sunset over mountains
# Sets custom dimensions
Common parameters:
| Parameter | Description |
|---|---|
$width:N | Width in pixels |
$height:N | Height in pixels |
$aspect:W:H | Aspect ratio |
$duration:N | Video duration in seconds |
$quality:level | Quality level (low/medium/high) |
Using Presets
Presets bundle common parameter combinations for quick formatting:
/image $cinematic epic battle scene
# 21:9 cinematic aspect ratio
Available presets:
$cinematic- 21:9 widescreen$portrait- 9:16 vertical$landscape- 16:9 horizontal$square- 1:1 square
Quality Modifiers
Use !flag modifiers to adjust quality and behavior:
/image !4k detailed landscape photograph
# 4K resolution output
Common modifiers:
!hd- High definition (1080p)!4k- 4K resolution!fast- Prioritize speed!loop- Create looping video
Adding Context with References
Reference your saved content to provide context:
# Use a saved prompt template
@prompt:marketing-expert write a product description
# Include knowledge base context
/write @kb:brand-guidelines create marketing copy
# Reference a previous output
/edit @out:hero-image add a gradient overlay
Putting It All Together
Here's a complete example combining multiple AskGL features:
# Generate branded marketing image
/image @promptha.flux-schnell @kb:brand-colors $landscape !hd product showcase with modern lighting