@heyamiko/amiko-cli 0.9.9-beta.2 → 0.9.9-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -103,15 +103,16 @@ Pays 1 AMIKO per search via Crossmint wallet transfer. Tries Solana wallet first
103
103
  ## Image Generation
104
104
 
105
105
  ```bash
106
- amiko markets image "a sunset over mountains" # gpt-image-1 (default)
107
- amiko markets image "logo" --background transparent # transparent background
108
- amiko markets image "cat" --model dall-e-3 # DALL-E 3
109
- amiko markets image "portrait" --size 1024x1792 --quality high # portrait, high quality
110
- amiko markets image "icon" --format webp # webp output
111
- amiko markets image "banner" --raw # raw JSON
106
+ amiko markets image "a sunset over mountains" # gpt-image-2 high 1024x1024 (default)
107
+ amiko markets image "logo" --background transparent # transparent background
108
+ amiko markets image "small" --model gpt-image-1-mini --quality low # cheapest tier
109
+ amiko markets image "portrait" --size 1024x1536 --quality high # portrait, high quality
110
+ amiko markets image "batch" --n 4 # 4 images in one call
111
+ amiko markets image "icon" --format webp # webp output
112
+ amiko markets image "banner" --raw # raw JSON
112
113
  ```
113
114
 
114
- Costs 5 AMIKO per image. Returns a Supabase Storage URL.
115
+ Pricing is OpenAI pass-through × 1.30 markup, paid in AMIKO at the live AMIKO/USD spot price. Cost depends on `model × quality × size × n` — the CLI prints the AMIKO and USD amount before charging. Models: `gpt-image-2` (default), `gpt-image-1.5`, `gpt-image-1`, `gpt-image-1-mini`. Sizes: `1024x1024`, `1024x1536`, `1536x1024`. Returns a Supabase Storage URL.
115
116
 
116
117
  Image generation typically takes 20–60s. In non-TTY environments (agents, piped shells), the CLI prints a `…still working (Ns elapsed)` tick to stderr every 3s so the parent process can tell it hasn't hung.
117
118
 
@@ -285,7 +286,7 @@ src/
285
286
  ├── commands/
286
287
  │ ├── credits.ts # credits balance + topup
287
288
  │ ├── search.ts # X/Twitter search (1 AMIKO via MPP)
288
- │ ├── image.ts # image generation (gpt-image-1, 5 AMIKO)
289
+ │ ├── image.ts # image generation (gpt-image-2 default, AMIKO at OpenAI pass-through × 1.30)
289
290
  │ ├── amazon.ts # Amazon search + quote
290
291
  │ ├── swap.ts # Jupiter token swaps (Solana)
291
292
  │ ├── bridge.ts # Across Protocol cross-chain bridge