Complete step-by-step guide to set up and run both Qwen-Image (text-to-image) and Qwen-Image-Edit (image editing) on Lambda Labs cloud GPU instances.
- Lambda Labs account
- SSH key pair generated
| export XIAOMI_API_KEY="tp-XXX" | |
| export ANTHROPIC_BASE_URL="https://token-plan-sgp.xiaomimimo.com/anthropic" | |
| export ANTHROPIC_AUTH_TOKEN="$XIAOMI_API_KEY" | |
| export ANTHROPIC_API_KEY="" # This must be explicitly empty | |
| export ANTHROPIC_DEFAULT_OPUS_MODEL=mimo-v2.5-pro | |
| export ANTHROPIC_DEFAULT_SONNET_MODEL=mimo-v2.5 | |
| export TERM=xterm-256color |
| # Force screen to use 256 colors | |
| term screen-256color | |
| # Tell screen to allow 256 color programs | |
| attrcolor b ".I" | |
| termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' | |
| defscreenrc 256 |
| ollama run qwen3.5:9b | |
| /set parameter num_ctx 128000 | |
| /save llama3.1-128k | |
| /set parameter num_ctx 262144 | |
| /save qwen3.5-256k |
| A physical Pokémon card lying on a wooden table, slightly worn with soft edges and minor creases showing it's been well-loved. The card features a portrait of the person in the uploaded photo. | |
| Card details: | |
| - Name: Uli Hitzel | |
| - HP: 365 (coffee-powered) | |
| - Type: AI Technologist | |
| - Stage: Evolved from Software Engineer | |
| Abilities: | |
| - "Ecosystem Builder" - Connects startups, enterprises, and academia |
| ffmpeg -i input.mp4 -map 0 -map_metadata -1 -c copy output.mp4 |
| #!/bin/bash | |
| # Check if a port number was provided | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <port_number>" | |
| echo "Example: $0 6380" | |
| exit 1 | |
| fi | |
| PORT=$1 |
brew install proxychains-ng
/opt/homebrew/etc/proxychains.conf
[ProxyList] socks5 127.0.0.1 8080
proxychains4 /Applications/Abc/Content/MacOS/Abc
| Aerial drone photo of Godzilla breaching Marina Bay, shot from directly overhead. The monster's massive dorsal plates slice through the bay's turquoise water, leaving a violent wake that crashes against the Esplanade's glass domes. Marina Bay Sands' three towers and SkyPark are perfectly framed in the upper right, giving scale to the creature's enormity. Below, traffic has stopped on the Helix Bridge as tiny figures scatter. Saltwater sprays in crystalline arcs under harsh midday sun, creating prismatic light effects. The beast's charcoal-black hide shows battle scars and barnacles, with realistic water beading and streaming off its ridged back. Helicopters hover at a safe distance, their rotors whipping up additional spray patterns. The entire scene maintains photojournalistic authenticity – motion blur on fleeing crowds, accurate shadows and reflections, heat haze rising from the monster's body. |
| Ultra-realistic aerial photograph of Singapore in 2049, shot from the height of a 15th-storey apartment. The familiar Marina Bay Sands still stands, its once-pristine infinity pool now edged by a discreet sea-wall. Victoria and Clifford Piers have become a dense lattice of timber boardwalks on reclaimed concrete pylons, connecting to new three-storey stilt houses painted in the same pastel palette as HDB blocks—just higher. The Singapore River, now tidal, laps at the base of Raffles Place; glass towers still glint, but their ground floors have been retro-fitted with roll-down flood barriers in brushed aluminium. Across the bay, Gardens by the Bay remains instantly recognisable, yet the Supertree Grove is crowned with thin photovoltaic canopies angled against stronger sun. To the left, the ArtScience Museum’s lotus petals are half-submerged; a new pedestrian bridge—simple precast concrete segments on galvanized piles—cuts straight from its steps to Merlion Park, now relocated a few metres up-slope on a modest |