Loading...
Loading...
Compare original and translation side by side
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this image horizontally to create a wider 16:9 composition, maintaining the same style and lighting"}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/original-photo.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this image horizontally to create a wider 16:9 composition, maintaining the same style and lighting"}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/original-photo.jpg"],
"mode": "max"
}'| Use Case | Target Ratio | Description |
|---|---|---|
| Portrait to Landscape | 16:9 | Convert vertical photos for video/desktop |
| Square to Widescreen | 21:9 | Create cinematic compositions |
| Product Banner | 3:1 or 4:1 | Extend product shots for web banners |
| Social Media | 4:5 or 1:1 | Optimize for Instagram feed |
| Panoramic | 2:1 or 3:1 | Create wide scenic views |
| Full Bleed | Custom | Add margins for printing |
| 使用场景 | 目标宽高比 | 描述 |
|---|---|---|
| 竖转横 | 16:9 | 将竖版照片转换为适配视频/桌面的格式 |
| 方转宽屏 | 21:9 | 创建电影级构图 |
| 产品横幅 | 3:1 或 4:1 | 扩展产品照片以适配网页横幅 |
| 社交媒体 | 4:5 或 1:1 | 优化以适配Instagram动态 |
| 全景图 | 2:1 或 3:1 | 创建宽幅风景视图 |
| 满版输出 | 自定义 | 添加打印所需边距 |
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this image horizontally on both sides. Add more of the natural environment while keeping the subject centered. Maintain consistent lighting, color grading, and style throughout the extension."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/landscape-photo.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this image horizontally on both sides. Add more of the natural environment while keeping the subject centered. Maintain consistent lighting, color grading, and style throughout the extension."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/landscape-photo.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this image vertically - add more sky above and more ground/foreground below. Keep the horizon line natural and maintain the same atmosphere and time of day."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/landscape.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this image vertically - add more sky above and more ground/foreground below. Keep the horizon line natural and maintain the same atmosphere and time of day."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/landscape.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Convert this vertical portrait photo to a horizontal 16:9 landscape format. Extend the background on both sides to create a wider scene. Keep the person as the main subject and ensure the extended areas match the original environment perfectly."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/portrait-photo.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Convert this vertical portrait photo to a horizontal 16:9 landscape format. Extend the background on both sides to create a wider scene. Keep the person as the main subject and ensure the extended areas match the original environment perfectly."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/portrait-photo.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Transform this square 1:1 image into a cinematic 21:9 widescreen format. Extend the scene horizontally while preserving the central composition. Match the lighting, textures, and visual style seamlessly."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/square-image.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Transform this square 1:1 image into a cinematic 21:9 widescreen format. Extend the scene horizontally while preserving the central composition. Match the lighting, textures, and visual style seamlessly."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/square-image.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this product photo into a wide banner format (approximately 4:1 ratio). Keep the product on the left third of the image and extend the clean background to the right to create space for text overlay. Maintain the same studio lighting and surface texture."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/product-shot.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this product photo into a wide banner format (approximately 4:1 ratio). Keep the product on the left third of the image and extend the clean background to the right to create space for text overlay. Maintain the same studio lighting and surface texture."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/product-shot.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Expand this image in all directions to add more environmental context. The subject is too tightly cropped - extend the scene to show more of the surroundings, making it feel less cramped. Keep the original subject size and add approximately 50% more space around it."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/tight-crop.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Expand this image in all directions to add more environmental context. The subject is too tightly cropped - extend the scene to show more of the surroundings, making it feel less cramped. Keep the original subject size and add approximately 50% more space around it."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/tight-crop.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "This photo has been tightly cropped - uncrop it to reveal more of the scene. Extend downward to show the full body (currently cut off at the waist) and extend the sides to show more of the room interior. Generate realistic content that matches the existing style."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/cropped-photo.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "This photo has been tightly cropped - uncrop it to reveal more of the scene. Extend downward to show the full body (currently cut off at the waist) and extend the sides to show more of the room interior. Generate realistic content that matches the existing style."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/cropped-photo.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Transform this landscape photo into a wide panoramic image with a 3:1 aspect ratio. Extend the scenic view on both left and right sides, continuing the mountain range, sky, and terrain naturally. Create a sweeping vista that feels like a real panoramic photograph."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/mountain-view.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Transform this landscape photo into a wide panoramic image with a 3:1 aspect ratio. Extend the scenic view on both left and right sides, continuing the mountain range, sky, and terrain naturally. Create a sweeping vista that feels like a real panoramic photograph."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/mountain-view.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this digital illustration horizontally to double its width. Continue the artistic style, color palette, and visual elements seamlessly. This is a fantasy landscape illustration - extend the magical forest and atmospheric elements on both sides while maintaining the same painting technique and mood."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/fantasy-illustration.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Extend this digital illustration horizontally to double its width. Continue the artistic style, color palette, and visual elements seamlessly. This is a fantasy landscape illustration - extend the magical forest and atmospheric elements on both sides while maintaining the same painting technique and mood."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/fantasy-illustration.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "This is a headshot with a blurred background. Extend the image to show more of the environment - convert to a 3/4 or full body shot by extending downward, and widen the scene to show the cafe/office setting implied by the background. Keep the portrait style and depth of field consistent."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/headshot.jpg"],
"mode": "max"
}'curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "This is a headshot with a blurred background. Extend the image to show more of the environment - convert to a 3/4 or full body shot by extending downward, and widen the scene to show the cafe/office setting implied by the background. Keep the portrait style and depth of field consistent."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/headshot.jpg"],
"mode": "max"
}'session_idundefinedsession_idundefinedundefinedundefined"Extend this [image type] [direction] to [target ratio/size].
[Describe what to add in extended areas].
Maintain [lighting/style/atmosphere] consistency.
Position the original [subject] in the [location].""将这张[图像类型]向[方向]扩展至[目标宽高比/尺寸]。
[描述扩展区域需添加的内容]。
保持[光线/风格/氛围]一致性。
将原图[主体]放置在[位置]。"| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final outputs, professional use, complex scenes | Slower | Highest |
| Quick previews, testing compositions, iterations | Faster | Good |
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
| 最终输出、专业用途、复杂场景 | 较慢 | 最高 |
| 快速预览、测试构图、迭代优化 | 较快 | 良好 |
| Name | Ratio | Common Use |
|---|---|---|
| Square | 1:1 | Instagram, thumbnails |
| Standard Photo | 4:3 | Traditional photography |
| Instagram Portrait | 4:5 | Instagram feed |
| HD Video | 16:9 | YouTube, presentations |
| Cinematic | 21:9 | Film, ultrawide monitors |
| Panoramic | 2:1, 3:1 | Scenic views, banners |
| Banner | 4:1, 5:1 | Website headers, ads |
| 名称 | 比例 | 常见用途 |
|---|---|---|
| 方形 | 1:1 | Instagram、缩略图 |
| 标准照片 | 4:3 | 传统摄影 |
| Instagram竖版 | 4:5 | Instagram动态 |
| 高清视频 | 16:9 | YouTube、演示文稿 |
| 电影级 | 21:9 | 电影、超宽屏显示器 |
| 全景图 | 2:1、3:1 | 风景视图、横幅 |
| 横幅 | 4:1、5:1 | 网页头部、广告 |
| Error | Cause | Solution |
|---|---|---|
| Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Adjust prompt to comply with content policies |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| Poor edge blending | Low quality source | Use higher resolution source image |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 余额不足 | 在eachlabs.ai充值 |
| 内容政策违规 | 包含违禁内容 | 调整提示词以符合内容政策 |
| 超时 | 生成任务复杂 | 将客户端超时设置为至少10分钟 |
| 边缘融合效果差 | 原图质量低 | 使用更高分辨率的原图 |
each-senseimage-inpaintingimage-upscalingbackground-removaleach-senseimage-inpaintingimage-upscalingbackground-removal