each::sense is in private beta.
Eachlabs | AI Workflows for app builders
realistic-background

EACHLABS

Realistic Background is an AI model designed for removing backgrounds in images.

Avg Run Time: 42.000s

Model Slug: realistic-background

Playground

Input

Enter a URL or choose a file from your computer.

Advanced Controls

Output

Example Result

Preview and download your result.

Preview Preview
The total cost depends on how long the model runs. It costs $0.001080 per second. Based on an average runtime of 42 seconds, each run costs about $0.0454. With a $1 budget, you can run the model around 22 times.

API & SDK

Create a Prediction

Send a POST request to create a new prediction. This will return a prediction ID that you'll use to check the result. The request should include your model inputs and API key.

Get Prediction Result

Poll the prediction endpoint with the prediction ID until the result is ready. The API uses long-polling, so you'll need to repeatedly check until you receive a success status.

Readme

Table of Contents
Overview
Technical Specifications
Key Considerations
Tips & Tricks
Capabilities
What Can I Use It For?
Things to Be Aware Of
Limitations

Overview

Realistic Background is designed to create high-quality and visually compelling backgrounds based on input prompts. The model is particularly suitable for generating photorealistic environments and settings, making it an ideal choice for projects requiring professional and realistic image generation.

Technical Specifications

Realistic Background employs advanced diffusion techniques and optimized sampling algorithms to generate high-resolution images with minimal artifacts.

Key Considerations

Input Quality: Low-quality or ambiguous prompts may lead to undesirable results.

Processing Time: Higher resolutions and more steps can significantly increase generation time.

Sampler Selection: Different samplers produce varying artistic styles. Experiment with the sampler_name input to identify the best option for your needs.

Seed Dependence: Outputs are tied to the seed value. Changing the seed alters the randomness of the output.

Tips & Tricks

  • Prompt Crafting: Use detailed and specific descriptions in the prompt to achieve the desired style and realism. For example, "a serene beach at sunset with gentle waves and golden sand" generates more refined results than "a beach."
  • Negative Prompt Refinement: If unwanted elements appear frequently, refine the negative_prompt. Example: "no people, no buildings, no blur."
  • Sampler Tuning:
    • For smoother results: Use DPM++ SDE or Euler a.
    • For detailed outputs: Choose DPM++ 2M SDE Heun.
    • For artistic freedom: Experiment with LMS or DPM adaptive.
  • Denoising Strength:
    • Set between 0.6 - 0.8 for balanced creativity and structure.
    • Avoid extremes unless you are targeting highly abstract or minimal changes.
  • Steps: Start with a moderate value, such as 25-30, for fast yet refined results. For more intricate details, increase to 50-60.
  • Resolution Settings:
    • Use max_width and max_height values proportional to your desired output. For example, 1920x1080 for standard HD backgrounds.
    • Avoid excessively high resolutions unless necessary to reduce processing time.
  • Seed Consistency: Use a fixed seed when you need reproducible outputs, especially for iterative adjustments.

Capabilities

Generates high-quality, realistic backgrounds tailored to user-provided prompts.

Offers fine-tuned control over image details using various input parameters.

Supports style transfer and enhancement through the image input.

What Can I Use It For?

  • Creating photorealistic backgrounds for projects, presentations, or media content.
  • Enhancing existing visuals with consistent and coherent backgrounds.
  • Generating creative assets for design and artistic endeavors.

Things to Be Aware Of

Combine a detailed prompt with negative_prompt to achieve highly customized results.

Experiment with different samplers, such as Euler a or DPM++ 2S a, for diverse stylistic outputs.

Use specific seeds to recreate and refine previously generated backgrounds.

Adjust the cfg_scale to find the perfect balance between creativity and prompt adherence.

Limitations

Complex Scenes: Overly detailed prompts may lead to cluttered outputs.

Resolution Limits: Extremely high resolutions can strain processing resources and increase generation time.

Sampler Variability: Results can differ significantly between samplers; testing may be required to find the optimal choice.

Output Format: PNG