# Quick recipes (Reach)

### 1) Image → Video → Brand in minutes

1. Generate an image (with references):

```json
{
  "name": "generate_nano_banana_image",
  "arguments": {
    "prompt": "A confident woman on a rooftop at sunset holding a megaphone; photo‑real anime aesthetic.",
    "image_input": [
      "/Users/you/.social-mcp/reference_images/subject.png",
      "https://example.com/style.jpg"
    ],
    "aspect_ratio": "16:9",
    "output_format": "png"
  }
}
```

2. Copy the returned `url` and generate a video:

```json
{
  "name": "generate_seedance_video",
  "arguments": {
    "prompt": "Slow 8s cinematic move; natural lighting, shallow DoF; match the reference image.",
    "image": "https://replicate.delivery/.../image.jpg",
    "duration": 8,
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }
}
```

3. Ship a brand card with a public URL:

```json
{
  "name": "generate_brand_image",
  "arguments": {
    "template_id": "eolas_reach_v1",
    "text": "testing URL"
  }
}
```

### 2) Video workflow: Image → Video → Merge

1. Generate multiple videos from different images:

```json
{
  "name": "generate_seedance_video",
  "arguments": {
    "prompt": "Cinematic movement with dramatic lighting",
    "image": "https://example.com/image1.jpg",
    "duration": 5
  }
}
```

2. Merge videos into a single sequence:

```json
{
  "name": "merge_videos",
  "arguments": {
    "video_urls": [
      "https://replicate.delivery/video1.mp4",
      "https://replicate.delivery/video2.mp4",
      "https://replicate.delivery/video3.mp4"
    ],
    "merge_strategy": "concatenate",
    "transition": "fade",
    "output_format": "mp4",
    "audio_url": "https://example.com/soundtrack.mp3",
    "audio_behavior": "loop"
  }
}
```

3. Create picture-in-picture effect:

```json
{
  "name": "merge_videos",
  "arguments": {
    "video_urls": [
      "https://replicate.delivery/background.mp4",
      "https://replicate.delivery/foreground.mp4"
    ],
    "merge_strategy": "picture_in_picture",
    "output_format": "mp4",
    "audio_url": "https://example.com/soundtrack.mp3",
    "audio_behavior": "trim"
  }
}
```

### Tips

* Provide URLs, data URLs, or absolute paths (local/data are auto‑uploaded to 0x0 and returned as links).
* Fades work best now that clips are auto-normalized (consistent resolution/frame rate) before merging.
* Use `audio_behavior` to loop a soundtrack across the merged runtime or trim it to match exactly.
* Keep references in `~/.social-mcp/reference_images` to reuse across sessions.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eolas.gitbook.io/eolas/getting-started/quick-recipes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
