Documentation

Advanced Editing

Advanced Editing Tools

Professional image editing capabilities including inpainting, outpainting, and creative variations.

Fill-Inpaint
Fill missing or unwanted areas
  • • Remove objects seamlessly
  • • Fill damaged areas
  • • Replace backgrounds
Fill-Outpaint
Extend images beyond boundaries
  • • Expand canvas size
  • • Add context around subjects
  • • Create panoramic views
Redux Variation
Generate creative variations
  • • Explore different styles
  • • Maintain core composition
  • • Creative reinterpretations
Fill-Inpaint
Fill in missing or masked areas of an image with AI-generated content

Request Example

POST https://api.qubico.ai/v1/inference
Content-Type: application/json
x-api-key: YOUR_API_KEY

{
  "model": "Qubico/flux1-dev-advanced",
  "task_type": "fill-inpaint",
  "input": {
    "image": "https://example.com/input-image.png",
    "prompt": "Fill in the missing part of the tree with autumn leaves, natural lighting",
    "negative_prompt": "artificial, fake, low quality",
    "denoise": 0.7,
    "guidance_scale": 4.0
  },
  "config": {
    "service_mode": "public"
  }
}

Use Cases

  • • Remove unwanted objects from photos
  • • Repair damaged or corrupted image areas
  • • Replace backgrounds selectively
  • • Fill in missing parts of subjects
  • • Clean up unwanted elements in compositions
Parameter Reference
Complete parameter documentation for advanced editing features

Required Parameters

image
string
required

URL of the input image for editing. Supports JPEG, PNG, WebP formats. Required for all editing tasks.

prompt
string
required

Text description of desired changes or additions. Maximum 1000 characters. Be specific about the editing goals.

Optional Parameters

negative_prompt
string
optional

Text description of what to avoid in the edited image. Maximum 500 characters.

denoise
float
optional

Editing strength. Range: 0.0-1.0, Default: 0.7. Higher values = more dramatic changes. Start with 0.5-0.7 for subtle edits.

guidance_scale
float
optional

Controls how closely the edit follows the prompt. Range: 1.0-20.0, Default: 4.0. Higher values = stronger prompt adherence.

Best Practices
Tips for optimal results with advanced editing features

Inpainting Tips

  • • Use clear, descriptive prompts for fill areas
  • • Start with lower denoise values (0.5-0.7)
  • • Ensure good contrast in mask areas
  • • Consider surrounding context in prompts
  • • Test different guidance scales for precision

Outpainting Tips

  • • Extend gradually for better seamless blending
  • • Use environmental context in prompts
  • • Consider lighting consistency
  • • Start with smaller extensions (200-400px)
  • • Match the original image's style and mood

Redux Variation Tips

  • • Use creative, exploratory prompts
  • • Experiment with different denoise levels
  • • Try style-specific keywords
  • • Generate multiple variations for options
  • • Balance creativity with coherence
Pricing & Credits
Credit costs for advanced editing features

Fill-Inpaint

4.5
credits per image

Fill-Outpaint

4.5
credits per image

Redux Variation

4.0
credits per image
* Prices may vary based on output resolution and complexity