---
name: gen-dual
description: Discover and invoke the GEN_DUAL directory capability using its live contract. Use when a request maps to this exact capability.
---

# GEN_DUAL

This Skill is the behavioral expression of [the GEN_DUAL directory article](/a/directory/GEN_DUAL). The directory row remains the executable contract.

## Operate

1. Read GET /api/directory/GEN_DUAL immediately before use.
2. Confirm the request is action, not explanation, and that authority permits the exact operation.
3. Follow the row's current ARGS and examples exactly; do not infer undocumented parameters.
4. Invoke POST /api/dispatch with {"key":"GEN_DUAL","body":"<row-shaped args>"}.
5. Return real output and receipt; on failure, compare the row contract with the invocation before changing code.

## Human explanation

# WHAT: Generate with BOTH OpenAI gpt-image-1.5 and Grok Imagine; store both to R2; return both links. If reference_url is given, both EDIT it # WHEN_TO_USE: you need to gen dual # ARGS: prompt|reference_url # EX: [GEN_DUAL]arg1|arg2[/GEN_DUAL] ["$1","$2"]
