CLI Reference

Command-line interface reference and examples

Global Commands

Help

cryptartist-studio --help cryptartist-studio -h

Display help information and available commands.

Version

cryptartist-studio --version cryptartist-studio -V

Display the current version of CryptArtist Studio.

Open Project

cryptartist-studio open <file> cryptartist-studio open ~/projects/myproject.CryptArt

Open a .CryptArt or .Crypt file in CryptArtist Studio.

Project Management Commands

Create New Project

cryptartist-studio create <name> --program <program> cryptartist-studio create "My Video" --program media-mogul

Create a new project for a specific program.

List Projects

cryptartist-studio list cryptartist-studio list --format json

List all recent projects.

Export Project

cryptartist-studio export <file> --output <path> cryptartist-studio export myproject.CryptArt --output ~/exports/

Export a project to a different format.

Media Commands

Encode Video

cryptartist-studio media encode <input> --output <output> --format <format> cryptartist-studio media encode input.mov --output output.mp4 --format h264

Encode video to a different format using FFmpeg.

Extract Audio

cryptartist-studio media audio <input> --output <output> cryptartist-studio media audio video.mp4 --output audio.mp3

Extract audio from a video file.

Generate Thumbnail

cryptartist-studio media thumbnail <input> --output <output> --time <seconds> cryptartist-studio media thumbnail video.mp4 --output thumb.jpg --time 5

Generate a thumbnail from a video at a specific time.

AI Commands

Generate Image

cryptartist-studio ai image <prompt> --output <output> cryptartist-studio ai image "a beautiful sunset" --output sunset.png

Generate an image using AI (requires API key).

Chat with AI

cryptartist-studio ai chat <message> cryptartist-studio ai chat "What is the meaning of life?"

Send a message to the AI and get a response.

Transcribe Audio

cryptartist-studio ai transcribe <audio_file> cryptartist-studio ai transcribe recording.mp3

Transcribe audio to text using AI.

File System Commands

List Files

cryptartist-studio fs list <path> cryptartist-studio fs list ~/projects/

List files in a directory.

Read File

cryptartist-studio fs read <file> cryptartist-studio fs read config.json

Read and display file contents.

Write File

cryptartist-studio fs write <file> <content> cryptartist-studio fs write output.txt "Hello, World!"

Write content to a file.

Server Commands

Start REST API Server

cryptartist-studio server start --port 3000

Start the REST API server on a specific port.

Stop Server

cryptartist-studio server stop

Stop the running REST API server.

Server Status

cryptartist-studio server status

Check the status of the REST API server.

System Commands

System Info

cryptartist-studio system info

Display system information and requirements.

Check Dependencies

cryptartist-studio system check

Check if all required dependencies are installed.

Clear Cache

cryptartist-studio system cache clear

Clear application cache.

View Logs

cryptartist-studio system logs cryptartist-studio system logs --lines 100

Display application logs.

Common Examples

Open and Edit a Video

cryptartist-studio open myproject.CryptArt # Then use Media Mogul to edit

Batch Encode Videos

for file in *.mov; do cryptartist-studio media encode "$file" --output "${file%.mov}.mp4" --format h264 done

Generate Multiple Images

cryptartist-studio ai image "sunset" --output sunset.png cryptartist-studio ai image "sunrise" --output sunrise.png cryptartist-studio ai image "landscape" --output landscape.png

Start Development Server

cryptartist-studio server start --port 3000 # API is now available at http://localhost:3000
Pro Tip: Use --help with any command to see detailed options and examples: cryptartist-studio media encode --help
CryptArtist Studio Logo