—
Post Processing — Combine
Post Processing is an endpoint that can enhance images using a variety of techniques including grain, blur, sharpen, and more.
Input
Add your inputs and customize the generation settings.
Result & Pricing
Image output — your generated image will appear here.
Your image will appear here
Choose your inputs and customize your settings.
Model pricing (tax excluded) per generation
| Specification | Webot INR |
|---|---|
| Rate | ₹0.12 |
Calculate credits in the input panel for your selected settings.
Prices, estimates and credit deductions exclude tax. Any applicable tax is charged only when you buy plans or credits.
Prices are converted to INR. Credits use your current plan rate.
- Prices shown are estimates, not final charges. Final billing details will be available in Reports after generation is complete.
API
WEBOT API · Combine
Generate from your server with your WEBOT account credits.
Use your 120-character WEBOT customer key (a–z, A–Z, 0–9). Send
Authorization: Bearer YOUR_KEY. Keys are secrets: call from a server, never from public frontend code. Results come from verified webhooks and remain saved if your stream disconnects.1. Configure your server
WEBOT_BASE_URL=https://webot.online
WEBOT_API_KEY=<your-server-side-WEBOT-key>This base URL is resolved from verified domain mappings and your direct creator reseller. Forwarded Host headers are not trusted. New custom reseller domains need DNS, TLS and platform verification before activation.
2. Quote, then generate
| Method | Endpoint | Purpose |
|---|---|---|
| POST | https://webot.online/api/v1/models/creative_f08662764054dc719bfc6678/quote | Validate input and calculate credits (no deduction). |
| POST | https://webot.online/api/v1/models/creative_f08662764054dc719bfc6678/requests | Reserve quoted credits and queue an asynchronous job. |
| GET | https://webot.online/api/v1/models/creative_f08662764054dc719bfc6678/requests/{request_id}/result | Read your saved result: 202 pending, 200 terminal. |
| GET | https://webot.online/api/v1/models/creative_f08662764054dc719bfc6678/requests/{request_id}/events | Authenticated SSE: generation / terminal events. |
Send JSON {"input":{…}} to quote. Send the same input plus integer quoted_credits to generate, with Authorization: Bearer … and Idempotency-Key. Use a unique 16–128 character key per new job; persist it and reuse the same key and input on any uncertain response. Never retry with a new key: that creates a second chargeable job.
Credits are reserved only after validation and a durable request is saved. A changed quote or insufficient balance returns 409. Credits exclude purchase taxes. The quoted amount is an initial reservation. After generation, the final charge replaces it using confirmed usage. Any verified unused allocation becomes available automatically; additional usage may require more credits. Missing billing stays pending, including for failed jobs.
3. Input example
Save this as input.json. Replace sample prompts, files and media URLs with your own. Schemas do not guarantee provider acceptance of the content.
{
"image_url": "https://example.com/source.png",
"blur_sigma": 1,
"solarize_threshold": 0.5,
"blue_direction": "horizontal",
"blur_type": "gaussian",
"smart_sharpen_ratio": 0.5,
"enable_blur": false,
"vertex_x": 0.5,
"glow_intensity": 1,
"grain_intensity": 0.4,
"dodge_burn_mode": "dodge",
"contrast": 0,
"sharpen_mode": "basic",
"red_shift": 0,
"parabolize_coeff": 1,
"dissolve_factor": 0.5,
"desaturate_factor": 1,
"enable_vignette": false,
"tint_strength": 1,
"enable_desaturate": false,
"sharpen_radius": 1,
"brightness": 0,
"preserve_edges": 0.75,
"enable_sharpen": false,
"dodge_burn_intensity": 0.5,
"sharpen_alpha": 1,
"enable_color_correction": false,
"blue_shift": 0,
"red_direction": "horizontal",
"smart_sharpen_strength": 5,
"dissolve_image_url": "",
"tint_mode": "sepia",
"green_direction": "horizontal",
"enable_solarize": false,
"enable_chromatic": false,
"enable_dodge_burn": false,
"enable_dissolve": false,
"vertex_y": 0.5,
"gamma": 1,
"temperature": 0,
"noise_radius": 7,
"enable_parabolize": false,
"grain_scale": 10,
"grain_style": "modern",
"enable_grain": false,
"cas_amount": 0.8,
"blur_radius": 3,
"glow_radius": 5,
"saturation": 0,
"enable_glow": false,
"green_shift": 0,
"enable_tint": false,
"vignette_strength": 0.5,
"desaturate_method": "luminance (Rec.709)"
}4. Language examples
# Save the model's example input as input.json, then replace prompts/media URLs.
# Requires curl and jq. Store NONCE once for this job; reuse it on any retry.
export NONCE="$(openssl rand -hex 16)"
BASE="${WEBOT_BASE_URL%/}"
jq -n --slurpfile input input.json '{input:$input[0]}' > quote-body.json
curl --fail-with-body -sS "$BASE/api/v1/models/creative_f08662764054dc719bfc6678/quote" \
-H "Authorization: Bearer $WEBOT_API_KEY" -H 'Content-Type: application/json' \
--data-binary @quote-body.json > quote.json
CREDITS=$(jq -er '.quote.credits_consumed' quote.json)
jq --argjson credits "$CREDITS" '. + {quoted_credits:$credits}' quote-body.json > request-body.json
curl --fail-with-body -sS "$BASE/api/v1/models/creative_f08662764054dc719bfc6678/requests" \
-H "Authorization: Bearer $WEBOT_API_KEY" -H "Idempotency-Key: $NONCE" \
-H 'Content-Type: application/json' --data-binary @request-body.json > job.json
# Subscribe; after a nonterminal disconnect, reconnect this SAME URL.
curl --fail-with-body -N "$(jq -er '.events_url' job.json)" -H "Authorization: Bearer $WEBOT_API_KEY"
# Read saved output after terminal notification (never call provider status/results).
curl --fail-with-body -sS "$(jq -er '.result_url' job.json)" -H "Authorization: Bearer $WEBOT_API_KEY"// Node.js 18+. Save your customized input in input.json.
import { readFileSync } from 'node:fs';
import { randomUUID } from 'node:crypto';
const base = process.env.WEBOT_BASE_URL.replace(/\/$/, '');
const key = process.env.WEBOT_API_KEY;
const input = JSON.parse(readFileSync('input.json', 'utf8'));
const nonce = process.env.WEBOT_JOB_NONCE || randomUUID(); // Persist before submission.
async function post(path, body, nonce) {
const response = await fetch(base + path, {method:'POST', headers:{
Authorization:`Bearer ${key}`, 'Content-Type':'application/json',
...(nonce ? {'Idempotency-Key':nonce} : {})}, body:JSON.stringify(body)});
const json = await response.json();
if (!response.ok) throw new Error(JSON.stringify(json));
return json;
}
const {quote} = await post('/api/v1/models/creative_f08662764054dc719bfc6678/quote', {input});
const job = await post('/api/v1/models/creative_f08662764054dc719bfc6678/requests', {input, quoted_credits:quote.credits_consumed}, nonce);
console.log(job); // Stable WEBOT request_id, events_url, result_url.
// Stream saved webhook state. Reconnect ONLY the event stream, not the generation.
while (!job.terminal || job.financial_pending) {
const stream = await fetch(job.events_url, {headers:{Authorization:`Bearer ${key}`}});
if (!stream.ok) throw new Error(`Event stream HTTP ${stream.status}`);
let buffer = '';
for await (const chunk of stream.body.pipeThrough(new TextDecoderStream())) {
buffer += chunk;
let end;
while ((end = buffer.indexOf('\n\n')) !== -1) {
const event = buffer.slice(0, end); buffer = buffer.slice(end + 2);
const data = event.split('\n').find(line => line.startsWith('data: '));
if (!data) continue;
const state = JSON.parse(data.slice(6));
if (state.error && !state.status) throw new Error(JSON.stringify(state.error));
if (state.terminal && !state.financial_pending) { console.log(state.output ?? state.error); process.exit(0); }
}
}
await new Promise(resolve => setTimeout(resolve, 1500));
}
console.log(job.output ?? job.error);// Node.js 18+. Save your customized input in input.json.
import { readFileSync } from 'node:fs';
import { randomUUID } from 'node:crypto';
const base = process.env.WEBOT_BASE_URL!.replace(/\/$/, '');
const key = process.env.WEBOT_API_KEY!;
const input = JSON.parse(readFileSync('input.json', 'utf8'));
const nonce = process.env.WEBOT_JOB_NONCE || randomUUID(); // Persist before submission.
async function post(path: string, body: unknown, nonce?: string) {
const response = await fetch(base + path, {method:'POST', headers:{
Authorization:`Bearer ${key}`, 'Content-Type':'application/json',
...(nonce ? {'Idempotency-Key':nonce} : {})}, body:JSON.stringify(body)});
const json = await response.json();
if (!response.ok) throw new Error(JSON.stringify(json));
return json;
}
const {quote} = await post('/api/v1/models/creative_f08662764054dc719bfc6678/quote', {input});
const job = await post('/api/v1/models/creative_f08662764054dc719bfc6678/requests', {input, quoted_credits:quote.credits_consumed}, nonce);
console.log(job); // Stable WEBOT request_id, events_url, result_url.
// Stream saved webhook state. Reconnect ONLY the event stream, not the generation.
while (!job.terminal || job.financial_pending) {
const stream = await fetch(job.events_url, {headers:{Authorization:`Bearer ${key}`}});
if (!stream.ok) throw new Error(`Event stream HTTP ${stream.status}`);
let buffer = '';
for await (const chunk of stream.body.pipeThrough(new TextDecoderStream())) {
buffer += chunk;
let end;
while ((end = buffer.indexOf('\n\n')) !== -1) {
const event = buffer.slice(0, end); buffer = buffer.slice(end + 2);
const data = event.split('\n').find(line => line.startsWith('data: '));
if (!data) continue;
const state = JSON.parse(data.slice(6));
if (state.error && !state.status) throw new Error(JSON.stringify(state.error));
if (state.terminal && !state.financial_pending) { console.log(state.output ?? state.error); process.exit(0); }
}
}
await new Promise(resolve => setTimeout(resolve, 1500));
}
console.log(job.output ?? job.error);# Python 3.9+, pip install requests
import json, os, time, uuid, requests
base = os.environ['WEBOT_BASE_URL'].rstrip('/')
headers = {'Authorization': 'Bearer ' + os.environ['WEBOT_API_KEY']}
with open('input.json', encoding='utf-8') as file:
input_data = json.load(file)
nonce = os.environ.get('WEBOT_JOB_NONCE') or str(uuid.uuid4()) # Persist before submitting.
def post(path, body, extra=None):
response = requests.post(base + path, headers={**headers, **(extra or {})}, json=body, timeout=180)
response.raise_for_status()
return response.json()
quote = post('/api/v1/models/creative_f08662764054dc719bfc6678/quote', {'input': input_data})['quote']
job = post('/api/v1/models/creative_f08662764054dc719bfc6678/requests', {'input': input_data, 'quoted_credits': quote['credits_consumed']}, {'Idempotency-Key': nonce})
state = job
while not state['terminal'] or state.get('financial_pending', False):
# Reconnect while nonterminal; this reads WEBOT's database, never a provider status API.
with requests.get(job['events_url'], headers=headers, stream=True, timeout=(10, 40)) as stream:
stream.raise_for_status()
for line in stream.iter_lines(decode_unicode=True):
if line and line.startswith('data: '):
state = json.loads(line[6:])
if 'status' not in state: raise RuntimeError(state)
if state['terminal'] and not state.get('financial_pending', False): break
if not state['terminal'] or state.get('financial_pending', False): time.sleep(1.5)
print(state['output'] if state['status'] == 'completed' else state['error'])<?php // PHP 8.1+ with cURL
$base = rtrim(getenv('WEBOT_BASE_URL'), '/');
$input = json_decode(file_get_contents('input.json'), false, 64, JSON_THROW_ON_ERROR);
$nonce = getenv('WEBOT_JOB_NONCE') ?: bin2hex(random_bytes(16)); // Persist this before submission.
function post(string $path, array $body, ?string $nonce = null): array {
global $base;
$headers = ['Authorization: Bearer '.getenv('WEBOT_API_KEY'), 'Content-Type: application/json'];
if ($nonce) $headers[] = 'Idempotency-Key: '.$nonce;
$ch = curl_init($base.$path);
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER=>true, CURLOPT_POST=>true,
CURLOPT_TIMEOUT=>180, CURLOPT_HTTPHEADER=>$headers,
CURLOPT_POSTFIELDS=>json_encode($body, JSON_THROW_ON_ERROR)]);
$raw = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch);
if ($raw === false || $status < 200 || $status >= 300) throw new RuntimeException('WEBOT HTTP '.$status);
return json_decode($raw, true, 64, JSON_THROW_ON_ERROR);
}
$quote = post('/api/v1/models/creative_f08662764054dc719bfc6678/quote', ['input'=>$input])['quote'];
$job = post('/api/v1/models/creative_f08662764054dc719bfc6678/requests', ['input'=>$input, 'quoted_credits'=>$quote['credits_consumed']], $nonce);
echo json_encode($job, JSON_PRETTY_PRINT); // Connect to events_url with the same Bearer header.// Go 1.20+; save as main.go.
package main
import ("bytes"; "encoding/json"; "fmt"; "io"; "net/http"; "os"; "strings"; "time"; "crypto/rand"; "encoding/hex")
func main() {
base := strings.TrimRight(os.Getenv("WEBOT_BASE_URL"), "/")
raw, err := os.ReadFile("input.json"); if err != nil { panic(err) }
nonce := os.Getenv("WEBOT_JOB_NONCE")
if nonce == "" { b := make([]byte,16); if _,err:=rand.Read(b);err!=nil {panic(err)}; nonce=hex.EncodeToString(b) }
// Persist nonce before the submission; reuse on ambiguous responses.
client := &http.Client{Timeout:180*time.Second}
post := func(path string, body any, id string) map[string]any {
data, err := json.Marshal(body); if err != nil {panic(err)}
req, err := http.NewRequest("POST",base+path,bytes.NewReader(data)); if err!=nil {panic(err)}
req.Header.Set("Authorization","Bearer "+os.Getenv("WEBOT_API_KEY")); req.Header.Set("Content-Type","application/json")
if id!="" {req.Header.Set("Idempotency-Key",id)}
res,err:=client.Do(req); if err!=nil {panic(err)}; defer res.Body.Close()
data,err=io.ReadAll(res.Body); if err!=nil {panic(err)}
if res.StatusCode<200||res.StatusCode>=300 {panic(string(data))}
var result map[string]any; if err=json.Unmarshal(data,&result);err!=nil {panic(err)}; return result
}
input:=json.RawMessage(raw)
quote:=post("/api/v1/models/creative_f08662764054dc719bfc6678/quote",map[string]any{"input":input},"")["quote"].(map[string]any)
job:=post("/api/v1/models/creative_f08662764054dc719bfc6678/requests",map[string]any{"input":input,"quoted_credits":quote["credits_consumed"]},nonce)
fmt.Println(job) // Stream events_url with the same Authorization header.
}// Java 11+, Jackson databind dependency; class Main in Main.java.
import java.net.URI;
import java.net.http.*;
import java.nio.file.*;
import java.time.Duration;
import java.util.UUID;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.node.ObjectNode;
public class Main {
static final ObjectMapper json = new ObjectMapper();
static final HttpClient client = HttpClient.newHttpClient();
static final String base = System.getenv("WEBOT_BASE_URL").replaceAll("/$", "");
static JsonNode post(String path, JsonNode body, String nonce) throws Exception {
var b = HttpRequest.newBuilder(URI.create(base+path)).timeout(Duration.ofSeconds(180))
.header("Authorization","Bearer "+System.getenv("WEBOT_API_KEY")).header("Content-Type","application/json")
.POST(HttpRequest.BodyPublishers.ofString(json.writeValueAsString(body)));
if(nonce!=null)b.header("Idempotency-Key",nonce);
var r=client.send(b.build(),HttpResponse.BodyHandlers.ofString());
if(r.statusCode()<200||r.statusCode()>=300)throw new IllegalStateException(r.body());
return json.readTree(r.body());
}
public static void main(String[] args) throws Exception {
var input=json.readTree(Files.readString(Path.of("input.json")));
ObjectNode body=json.createObjectNode();body.set("input",input);
var quote=post("/api/v1/models/creative_f08662764054dc719bfc6678/quote",body,null).get("quote");
body.put("quoted_credits",quote.get("credits_consumed").asInt());
String nonce=System.getenv("WEBOT_JOB_NONCE");if(nonce==null)nonce=UUID.randomUUID().toString(); // Persist before POST.
var job=post("/api/v1/models/creative_f08662764054dc719bfc6678/requests",body,nonce);System.out.println(job);
// Subscribe to job.events_url with Authorization; use BodyHandlers.ofLines().
}
}// .NET 8 console app, top-level statements.
using System.Net.Http;
using System.Text;
using System.Text.Json.Nodes;
var client = new HttpClient { Timeout = TimeSpan.FromSeconds(180) };
var root = Environment.GetEnvironmentVariable("WEBOT_BASE_URL")!.TrimEnd('/');
var key = Environment.GetEnvironmentVariable("WEBOT_API_KEY");
async Task<JsonNode> Post(string path, JsonNode body, string? nonce = null) {
using var req = new HttpRequestMessage(HttpMethod.Post, root + path);
req.Headers.Add("Authorization", "Bearer " + key);
if (nonce != null) req.Headers.Add("Idempotency-Key", nonce);
req.Content = new StringContent(body.ToJsonString(), Encoding.UTF8, "application/json");
using var res = await client.SendAsync(req);
var raw = await res.Content.ReadAsStringAsync();res.EnsureSuccessStatusCode();
return JsonNode.Parse(raw)!;
}
var input = JsonNode.Parse(await File.ReadAllTextAsync("input.json"));
var body = new JsonObject { ["input"] = input };
var quote = await Post("/api/v1/models/creative_f08662764054dc719bfc6678/quote", body);
body["quoted_credits"] = quote["quote"]!["credits_consumed"]!.GetValue<int>();
var nonce = Environment.GetEnvironmentVariable("WEBOT_JOB_NONCE") ?? Guid.NewGuid().ToString(); // Persist before submitting.
var job = await Post("/api/v1/models/creative_f08662764054dc719bfc6678/requests", body, nonce);
Console.WriteLine(job); // Subscribe to events_url with the same Bearer header and ResponseHeadersRead.# Ruby 3+, standard library only.
require 'net/http'
require 'json'
require 'securerandom'
base = ENV.fetch('WEBOT_BASE_URL').sub(%r{/$}, '')
post = lambda do |path, body, nonce = nil|
uri = URI(base + path)
req = Net::HTTP::Post.new(uri)
req['Authorization'] = 'Bearer ' + ENV.fetch('WEBOT_API_KEY')
req['Content-Type'] = 'application/json'
req['Idempotency-Key'] = nonce if nonce
req.body = JSON.generate(body)
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true, read_timeout: 180) { |http| http.request(req) }
raise res.body unless res.is_a?(Net::HTTPSuccess)
JSON.parse(res.body)
end
input = JSON.parse(File.read('input.json'))
quote = post.call('/api/v1/models/creative_f08662764054dc719bfc6678/quote', {'input' => input})['quote']
nonce = ENV['WEBOT_JOB_NONCE'] || SecureRandom.uuid # Persist this before submission.
job = post.call('/api/v1/models/creative_f08662764054dc719bfc6678/requests', {'input' => input, 'quoted_credits' => quote['credits_consumed']}, nonce)
puts JSON.pretty_generate(job) # Subscribe to events_url with the same Authorization header.// Swift 5.9 server-side/CLI only. Do not embed customer keys in shipped apps.
import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
@main struct Main {
static func main() async throws {
let env=ProcessInfo.processInfo.environment
let base=env["WEBOT_BASE_URL"]!.trimmingCharacters(in: CharacterSet(charactersIn:"/"))
let input=try JSONSerialization.jsonObject(with: Data(contentsOf:URL(fileURLWithPath:"input.json")))
func post(_ path:String,_ body:[String:Any],_ nonce:String?=nil) async throws -> [String:Any] {
var req=URLRequest(url:URL(string:base+path)!);req.httpMethod="POST";req.timeoutInterval=180
req.setValue("Bearer "+env["WEBOT_API_KEY"]!,forHTTPHeaderField:"Authorization")
req.setValue("application/json",forHTTPHeaderField:"Content-Type")
if let nonce {req.setValue(nonce,forHTTPHeaderField:"Idempotency-Key")}
req.httpBody=try JSONSerialization.data(withJSONObject:body)
let (data,res)=try await URLSession.shared.data(for:req)
guard let http=res as? HTTPURLResponse,(200..<300).contains(http.statusCode) else {throw NSError(domain:"WEBOT",code:1)}
return try JSONSerialization.jsonObject(with:data) as! [String:Any]
}
let quote=try await post("/api/v1/models/creative_f08662764054dc719bfc6678/quote",["input":input])["quote"] as! [String:Any]
let nonce=env["WEBOT_JOB_NONCE"] ?? UUID().uuidString // Persist before submission.
let job=try await post("/api/v1/models/creative_f08662764054dc719bfc6678/requests",["input":input,"quoted_credits":quote["credits_consumed"]!],nonce)
print(job) // Subscribe to events_url with the same Authorization header.
}
}// Server-side Kotlin/JVM 17+, Gradle dependencies: OkHttp 4.12, org.json 20240303.
import okhttp3.*
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.RequestBody.Companion.toRequestBody
import org.json.JSONObject
import java.io.File
import java.util.UUID
import java.util.concurrent.TimeUnit
fun main() {
val base=System.getenv("WEBOT_BASE_URL").trimEnd('/')
val client=OkHttpClient.Builder().readTimeout(180,TimeUnit.SECONDS).build()
fun post(path:String,body:JSONObject,nonce:String?=null):JSONObject {
val b=Request.Builder().url(base+path).header("Authorization","Bearer "+System.getenv("WEBOT_API_KEY"))
.post(body.toString().toRequestBody("application/json".toMediaType()))
if(nonce!=null)b.header("Idempotency-Key",nonce)
return client.newCall(b.build()).execute().use {res ->
val raw=res.body!!.string();check(res.isSuccessful){raw};JSONObject(raw)
}
}
val body=JSONObject().put("input",JSONObject(File("input.json").readText()))
val quote=post("/api/v1/models/creative_f08662764054dc719bfc6678/quote",body).getJSONObject("quote")
body.put("quoted_credits",quote.getInt("credits_consumed"))
val nonce=System.getenv("WEBOT_JOB_NONCE") ?: UUID.randomUUID().toString() // Persist before submission.
val job=post("/api/v1/models/creative_f08662764054dc719bfc6678/requests",body,nonce)
println(job) // Subscribe to events_url with the same Authorization header.
}5. Receive all results
The response includes a stable WEBOT request_id, events_url and result_url. Subscribe with a Bearer-authenticated HTTP stream. Nonterminal streams end after 25 seconds; reconnect to the same URL after at least 1.5 seconds. Current saved state is replayed immediately, including completion that happened while disconnected. A terminal event contains the result envelope. The JSON terminal flag describes generation completion. Keep reconnecting while financial_pending is true; stop after the terminal event confirms financial settlement. Never poll provider status/results. Native browser EventSource cannot send a Bearer header; keep the key on your server.
Completed output contains the full model result, including every generated media/document item, not just the first URL. Failed output is null with error and refund_state. Results are strictly limited to the key owner, including on reseller domains. Model-independent aliases: /api/v1/requests/{request_id}/result and /events. Revoking a key blocks subsequent reads and streams; saved results remain accessible with another valid key of the same account.
6. Schemas and parameter defaults
Required fields are marked with *. Required text must contain non-whitespace content. Defaults apply when an optional parameter is omitted; null, false, 0 and an empty array are distinct values. “No documented default” means WEBOT does not invent one. Examples are sample inputs, not defaults. WEBOT generation constraints can require an explicit value even when the provider publishes an automatic default.
Input schema · fields, constraints and defaults
| Parameter | Type | Required | Default when omitted | Description / constraints |
|---|---|---|---|---|
blur_sigma | number | No | 1 | Sigma for Gaussian blur minimum: 0.1 · maximum: 10 |
solarize_threshold | number | No | 0.5 | Solarize threshold minimum: 0 · maximum: 1 |
blue_direction | string | No | "horizontal" | Blue channel shift direction enum: ["horizontal","vertical"] |
blur_type | string | No | "gaussian" | Type of blur to apply enum: ["gaussian","kuwahara"] |
smart_sharpen_ratio | number | No | 0.5 | Smart sharpen blend ratio minimum: 0 · maximum: 1 |
enable_blur | boolean | No | false | Enable blur effect |
vertex_x | number | No | 0.5 | Vertex X position minimum: 0 · maximum: 1 |
glow_intensity | number | No | 1 | Glow intensity minimum: 0 · maximum: 5 |
grain_intensity | number | No | 0.4 | Film grain intensity (when enabled) minimum: 0 · maximum: 1 |
dodge_burn_mode | string | No | "dodge" | Dodge and burn mode enum: ["dodge","burn","dodge_and_burn","burn_and_dodge","color_dodge","color_burn","linear_dodge","linear_burn"] |
contrast | number | No | 0 | Contrast adjustment minimum: -100 · maximum: 100 |
sharpen_mode | string | No | "basic" | Type of sharpening to apply enum: ["basic","smart","cas"] |
red_shift | integer | No | 0 | Red channel shift amount minimum: -20 · maximum: 20 |
parabolize_coeff | number | No | 1 | Parabolize coefficient minimum: -10 · maximum: 10 |
dissolve_factor | number | No | 0.5 | Dissolve blend factor minimum: 0 · maximum: 1 |
desaturate_factor | number | No | 1 | Desaturation factor minimum: 0 · maximum: 1 |
image_url | string | Yes * | No documented default | URL of image to process |
enable_vignette | boolean | No | false | Enable vignette effect |
tint_strength | number | No | 1 | Tint strength minimum: 0.1 · maximum: 1 |
enable_desaturate | boolean | No | false | Enable desaturation effect |
sharpen_radius | integer | No | 1 | Sharpen radius (for basic mode) minimum: 1 · maximum: 15 |
brightness | number | No | 0 | Brightness adjustment minimum: -100 · maximum: 100 |
preserve_edges | number | No | 0.75 | Edge preservation factor minimum: 0 · maximum: 1 |
enable_sharpen | boolean | No | false | Enable sharpen effect |
dodge_burn_intensity | number | No | 0.5 | Dodge and burn intensity minimum: 0 · maximum: 1 |
sharpen_alpha | number | No | 1 | Sharpen strength (for basic mode) minimum: 0.1 · maximum: 5 |
enable_color_correction | boolean | No | false | Enable color correction |
blue_shift | integer | No | 0 | Blue channel shift amount minimum: -20 · maximum: 20 |
red_direction | string | No | "horizontal" | Red channel shift direction enum: ["horizontal","vertical"] |
smart_sharpen_strength | number | No | 5 | Smart sharpen strength minimum: 0 · maximum: 25 |
dissolve_image_url | string | No | "" | URL of second image for dissolve |
tint_mode | string | No | "sepia" | Tint color mode enum: ["sepia","red","green","blue","cyan","magenta","yellow","purple","orange","warm","cool","lime","navy","vintage","rose","teal","maroon","peach","lavender","olive"] |
green_direction | string | No | "horizontal" | Green channel shift direction enum: ["horizontal","vertical"] |
enable_solarize | boolean | No | false | Enable solarize effect |
enable_chromatic | boolean | No | false | Enable chromatic aberration |
enable_dodge_burn | boolean | No | false | Enable dodge and burn effect |
enable_dissolve | boolean | No | false | Enable dissolve effect |
vertex_y | number | No | 0.5 | Vertex Y position minimum: 0 · maximum: 1 |
gamma | number | No | 1 | Gamma adjustment minimum: 0.2 · maximum: 2.2 |
temperature | number | No | 0 | Color temperature adjustment minimum: -100 · maximum: 100 |
noise_radius | integer | No | 7 | Noise radius for smart sharpen minimum: 1 · maximum: 25 |
enable_parabolize | boolean | No | false | Enable parabolize effect |
grain_scale | number | No | 10 | Film grain scale (when enabled) minimum: 1 · maximum: 100 |
grain_style | string | No | "modern" | Style of film grain to apply enum: ["modern","analog","kodak","fuji","cinematic","newspaper"] |
enable_grain | boolean | No | false | Enable film grain effect |
cas_amount | number | No | 0.8 | CAS sharpening amount minimum: 0 · maximum: 1 |
blur_radius | integer | No | 3 | Blur radius minimum: 0 · maximum: 31 |
glow_radius | integer | No | 5 | Glow blur radius minimum: 1 · maximum: 50 |
saturation | number | No | 0 | Saturation adjustment minimum: -100 · maximum: 100 |
enable_glow | boolean | No | false | Enable glow effect |
green_shift | integer | No | 0 | Green channel shift amount minimum: -20 · maximum: 20 |
enable_tint | boolean | No | false | Enable color tint effect |
vignette_strength | number | No | 0.5 | Vignette strength (when enabled) minimum: 0 · maximum: 10 |
desaturate_method | string | No | "luminance (Rec.709)" | Desaturation method enum: ["luminance (Rec.709)","luminance (Rec.601)","average","lightness"] |
{
"title": "ImageProcessingInput",
"x-webot-order-properties": [
"image_url",
"enable_grain",
"grain_intensity",
"grain_scale",
"grain_style",
"enable_color_correction",
"temperature",
"brightness",
"contrast",
"saturation",
"gamma",
"enable_chromatic",
"red_shift",
"red_direction",
"green_shift",
"green_direction",
"blue_shift",
"blue_direction",
"enable_blur",
"blur_type",
"blur_radius",
"blur_sigma",
"enable_vignette",
"vignette_strength",
"enable_parabolize",
"parabolize_coeff",
"vertex_x",
"vertex_y",
"enable_tint",
"tint_strength",
"tint_mode",
"enable_dissolve",
"dissolve_image_url",
"dissolve_factor",
"enable_dodge_burn",
"dodge_burn_intensity",
"dodge_burn_mode",
"enable_glow",
"glow_intensity",
"glow_radius",
"enable_sharpen",
"sharpen_mode",
"sharpen_radius",
"sharpen_alpha",
"noise_radius",
"preserve_edges",
"smart_sharpen_strength",
"smart_sharpen_ratio",
"cas_amount",
"enable_solarize",
"solarize_threshold",
"enable_desaturate",
"desaturate_factor",
"desaturate_method"
],
"properties": {
"blur_sigma": {
"description": "Sigma for Gaussian blur",
"minimum": 0.1,
"maximum": 10,
"default": 1,
"title": "Blur Sigma",
"type": "number"
},
"solarize_threshold": {
"description": "Solarize threshold",
"minimum": 0,
"maximum": 1,
"default": 0.5,
"title": "Solarize Threshold",
"type": "number"
},
"blue_direction": {
"description": "Blue channel shift direction",
"enum": [
"horizontal",
"vertical"
],
"title": "Blue Direction",
"default": "horizontal",
"type": "string"
},
"blur_type": {
"description": "Type of blur to apply",
"enum": [
"gaussian",
"kuwahara"
],
"title": "Blur Type",
"default": "gaussian",
"type": "string"
},
"smart_sharpen_ratio": {
"description": "Smart sharpen blend ratio",
"minimum": 0,
"maximum": 1,
"default": 0.5,
"title": "Smart Sharpen Ratio",
"type": "number"
},
"enable_blur": {
"description": "Enable blur effect",
"title": "Enable Blur",
"default": false,
"type": "boolean"
},
"vertex_x": {
"description": "Vertex X position",
"minimum": 0,
"maximum": 1,
"default": 0.5,
"title": "Vertex X",
"type": "number"
},
"glow_intensity": {
"description": "Glow intensity",
"minimum": 0,
"maximum": 5,
"default": 1,
"title": "Glow Intensity",
"type": "number"
},
"grain_intensity": {
"description": "Film grain intensity (when enabled)",
"minimum": 0,
"maximum": 1,
"multipleOf": 0.01,
"default": 0.4,
"title": "Grain Intensity",
"type": "number"
},
"dodge_burn_mode": {
"description": "Dodge and burn mode",
"enum": [
"dodge",
"burn",
"dodge_and_burn",
"burn_and_dodge",
"color_dodge",
"color_burn",
"linear_dodge",
"linear_burn"
],
"title": "Dodge Burn Mode",
"default": "dodge",
"type": "string"
},
"contrast": {
"description": "Contrast adjustment",
"minimum": -100,
"maximum": 100,
"default": 0,
"title": "Contrast",
"type": "number"
},
"sharpen_mode": {
"description": "Type of sharpening to apply",
"enum": [
"basic",
"smart",
"cas"
],
"title": "Sharpen Mode",
"default": "basic",
"type": "string"
},
"red_shift": {
"description": "Red channel shift amount",
"minimum": -20,
"maximum": 20,
"default": 0,
"title": "Red Shift",
"type": "integer"
},
"parabolize_coeff": {
"description": "Parabolize coefficient",
"minimum": -10,
"maximum": 10,
"default": 1,
"title": "Parabolize Coeff",
"type": "number"
},
"dissolve_factor": {
"description": "Dissolve blend factor",
"minimum": 0,
"maximum": 1,
"default": 0.5,
"title": "Dissolve Factor",
"type": "number"
},
"desaturate_factor": {
"description": "Desaturation factor",
"minimum": 0,
"maximum": 1,
"default": 1,
"title": "Desaturate Factor",
"type": "number"
},
"image_url": {
"description": "URL of image to process",
"title": "Image Url",
"_webot_ui_field": "image",
"type": "string",
"examples": [
"https://storage.googleapis.com/falserverless/web-examples/post-process/postpro-input.jpg"
]
},
"enable_vignette": {
"description": "Enable vignette effect",
"title": "Enable Vignette",
"default": false,
"type": "boolean"
},
"tint_strength": {
"description": "Tint strength",
"minimum": 0.1,
"maximum": 1,
"default": 1,
"title": "Tint Strength",
"type": "number"
},
"enable_desaturate": {
"description": "Enable desaturation effect",
"title": "Enable Desaturate",
"default": false,
"type": "boolean"
},
"sharpen_radius": {
"description": "Sharpen radius (for basic mode)",
"minimum": 1,
"maximum": 15,
"default": 1,
"title": "Sharpen Radius",
"type": "integer"
},
"brightness": {
"description": "Brightness adjustment",
"minimum": -100,
"maximum": 100,
"default": 0,
"title": "Brightness",
"type": "number"
},
"preserve_edges": {
"description": "Edge preservation factor",
"minimum": 0,
"maximum": 1,
"default": 0.75,
"title": "Preserve Edges",
"type": "number"
},
"enable_sharpen": {
"description": "Enable sharpen effect",
"title": "Enable Sharpen",
"default": false,
"type": "boolean"
},
"dodge_burn_intensity": {
"description": "Dodge and burn intensity",
"minimum": 0,
"maximum": 1,
"default": 0.5,
"title": "Dodge Burn Intensity",
"type": "number"
},
"sharpen_alpha": {
"description": "Sharpen strength (for basic mode)",
"minimum": 0.1,
"maximum": 5,
"default": 1,
"title": "Sharpen Alpha",
"type": "number"
},
"enable_color_correction": {
"description": "Enable color correction",
"title": "Enable Color Correction",
"default": false,
"type": "boolean"
},
"blue_shift": {
"description": "Blue channel shift amount",
"minimum": -20,
"maximum": 20,
"default": 0,
"title": "Blue Shift",
"type": "integer"
},
"red_direction": {
"description": "Red channel shift direction",
"enum": [
"horizontal",
"vertical"
],
"title": "Red Direction",
"default": "horizontal",
"type": "string"
},
"smart_sharpen_strength": {
"description": "Smart sharpen strength",
"minimum": 0,
"maximum": 25,
"default": 5,
"title": "Smart Sharpen Strength",
"type": "number"
},
"dissolve_image_url": {
"description": "URL of second image for dissolve",
"title": "Dissolve Image Url",
"_webot_ui_field": "image",
"default": "",
"type": "string"
},
"tint_mode": {
"description": "Tint color mode",
"enum": [
"sepia",
"red",
"green",
"blue",
"cyan",
"magenta",
"yellow",
"purple",
"orange",
"warm",
"cool",
"lime",
"navy",
"vintage",
"rose",
"teal",
"maroon",
"peach",
"lavender",
"olive"
],
"title": "Tint Mode",
"default": "sepia",
"type": "string"
},
"green_direction": {
"description": "Green channel shift direction",
"enum": [
"horizontal",
"vertical"
],
"title": "Green Direction",
"default": "horizontal",
"type": "string"
},
"enable_solarize": {
"description": "Enable solarize effect",
"title": "Enable Solarize",
"default": false,
"type": "boolean"
},
"enable_chromatic": {
"description": "Enable chromatic aberration",
"title": "Enable Chromatic",
"default": false,
"type": "boolean"
},
"enable_dodge_burn": {
"description": "Enable dodge and burn effect",
"title": "Enable Dodge Burn",
"default": false,
"type": "boolean"
},
"enable_dissolve": {
"description": "Enable dissolve effect",
"title": "Enable Dissolve",
"default": false,
"type": "boolean"
},
"vertex_y": {
"description": "Vertex Y position",
"minimum": 0,
"maximum": 1,
"default": 0.5,
"title": "Vertex Y",
"type": "number"
},
"gamma": {
"description": "Gamma adjustment",
"minimum": 0.2,
"maximum": 2.2,
"default": 1,
"title": "Gamma",
"type": "number"
},
"temperature": {
"description": "Color temperature adjustment",
"minimum": -100,
"maximum": 100,
"default": 0,
"title": "Temperature",
"type": "number"
},
"noise_radius": {
"description": "Noise radius for smart sharpen",
"minimum": 1,
"maximum": 25,
"default": 7,
"title": "Noise Radius",
"type": "integer"
},
"enable_parabolize": {
"description": "Enable parabolize effect",
"title": "Enable Parabolize",
"default": false,
"type": "boolean"
},
"grain_scale": {
"description": "Film grain scale (when enabled)",
"minimum": 1,
"maximum": 100,
"default": 10,
"title": "Grain Scale",
"type": "number"
},
"grain_style": {
"description": "Style of film grain to apply",
"enum": [
"modern",
"analog",
"kodak",
"fuji",
"cinematic",
"newspaper"
],
"title": "Grain Style",
"default": "modern",
"type": "string"
},
"enable_grain": {
"description": "Enable film grain effect",
"title": "Enable Grain",
"default": false,
"type": "boolean"
},
"cas_amount": {
"description": "CAS sharpening amount",
"minimum": 0,
"maximum": 1,
"default": 0.8,
"title": "Cas Amount",
"type": "number"
},
"blur_radius": {
"description": "Blur radius",
"minimum": 0,
"maximum": 31,
"default": 3,
"title": "Blur Radius",
"type": "integer"
},
"glow_radius": {
"description": "Glow blur radius",
"minimum": 1,
"maximum": 50,
"default": 5,
"title": "Glow Radius",
"type": "integer"
},
"saturation": {
"description": "Saturation adjustment",
"minimum": -100,
"maximum": 100,
"default": 0,
"title": "Saturation",
"type": "number"
},
"enable_glow": {
"description": "Enable glow effect",
"title": "Enable Glow",
"default": false,
"type": "boolean"
},
"green_shift": {
"description": "Green channel shift amount",
"minimum": -20,
"maximum": 20,
"default": 0,
"title": "Green Shift",
"type": "integer"
},
"enable_tint": {
"description": "Enable color tint effect",
"title": "Enable Tint",
"default": false,
"type": "boolean"
},
"vignette_strength": {
"description": "Vignette strength (when enabled)",
"minimum": 0,
"maximum": 10,
"default": 0.5,
"title": "Vignette Strength",
"type": "number"
},
"desaturate_method": {
"description": "Desaturation method",
"enum": [
"luminance (Rec.709)",
"luminance (Rec.601)",
"average",
"lightness"
],
"title": "Desaturate Method",
"default": "luminance (Rec.709)",
"type": "string"
}
},
"required": [
"image_url"
],
"type": "object"
}Output (inside result.output) schema · fields, constraints and defaults
| Parameter | Type | Required | Default when omitted | Description / constraints |
|---|---|---|---|---|
images | array | Yes * | No documented default | The processed images |
images[].content_type | string | null | No | No documented default | The mime type of the file. |
images[].height | integer | null | No | No documented default | The height of the image in pixels. |
images[].width | integer | null | No | No documented default | The width of the image in pixels. |
images[].url | string | Yes * | No documented default | The URL where the file can be downloaded from. |
images[].file_name | string | null | No | No documented default | The name of the file. It will be auto-generated if not provided. |
images[].file_size | integer | null | No | No documented default | The size of the file in bytes. |
{
"title": "ProcessedOutput",
"x-webot-order-properties": [
"images"
],
"properties": {
"images": {
"description": "The processed images",
"title": "Images",
"items": {
"description": "Represents an image file.",
"x-webot-order-properties": [
"url",
"content_type",
"file_name",
"file_size",
"width",
"height"
],
"title": "Image",
"properties": {
"content_type": {
"description": "The mime type of the file.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Content Type",
"examples": [
"image/png"
]
},
"height": {
"description": "The height of the image in pixels.",
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Height",
"examples": [
1024
]
},
"width": {
"description": "The width of the image in pixels.",
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Width",
"examples": [
1024
]
},
"url": {
"description": "The URL where the file can be downloaded from.",
"title": "Url",
"type": "string"
},
"file_name": {
"description": "The name of the file. It will be auto-generated if not provided.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "File Name",
"examples": [
"z9RV14K95DvU.png"
]
},
"file_size": {
"description": "The size of the file in bytes.",
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "File Size",
"examples": [
4404019
]
}
},
"required": [
"url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"images"
],
"type": "object"
}Errors and limits
401 invalid/expired/revoked key · 403 key scope or domain mismatch · 404 unavailable model or unowned request · 409 quote changed, balance, concurrency or idempotency conflict · 413 JSON exceeds 2 MB · 415 wrong content type · 422 invalid fields/media · 429 rate limit · 503 temporary/ambiguous submission. Respect Retry-After. Current limits per account: 12 quotes/submissions, 120 result reads and 8 stream connections per minute. One submission preparation at a time per account. Do not automatically regenerate failed jobs.
Your requests
Post Processing - Combine · Your account only
Select Requests to load your history.
| Request ID | Created at (IST) | Status | Credits used | Refunded | Processing time | Report |
|---|
Your model analytics
Post Processing - Combine · Request dates in IST
Select Analytics to load your metrics.
Request counts
Daily requests by their current status
Request outcomes
Completed, failed and pending requests
Credits used
Daily recorded charges before refunds
Processing time
Daily average for completed requests with recorded timing
Processing percentiles
Completed requests only · Time from submission to recorded completion
How to use Post Processing — Combine
Use an existing picture as the starting material. This model changes or processes it according to its specific task and the controls shown here.
Required inputs
- Image Url: The input picture. Use a clear image in one of the accepted formats. If the form offers upload, select a file there; if it asks for a URL, use an accessible HTTPS file link.
Workflow
- Prepare your source material and fill the required inputs above. Review the supported settings for this model.
- Sign in to calculate the credit estimate. Review the estimate before choosing Generate.
- Keep this model page open while the request runs. Completed results arrive in the result area; use the available player or download controls to review the output.
When to use this workflow
- Work from a photo or illustration you already have.
- Apply this model’s documented image transformation.
Key settings
- Image Url
- The input picture. Use a clear image in one of the accepted formats. If the form offers upload, select a file there; if it asks for a URL, use an accessible HTTPS file link.
- Enable Grain
- Add or control a grain-like texture. Grain is a fine random pattern, often used for a film-like look. It changes style rather than recovering detail.
- Grain Intensity
- Add or control a grain-like texture. Grain is a fine random pattern, often used for a film-like look. It changes style rather than recovering detail. Minimum: 0. Maximum: 1. Increments of: 0.01
- Grain Scale
- Add or control a grain-like texture. Grain is a fine random pattern, often used for a film-like look. It changes style rather than recovering detail. Minimum: 1. Maximum: 100
- Grain Style
- Add or control a grain-like texture. Grain is a fine random pattern, often used for a film-like look. It changes style rather than recovering detail. Supported choices: "modern", "analog", "kodak", "fuji", "cinematic", "newspaper"
- Enable Color Correction
- Change or correct the overall colour balance. A tint adds a colour cast; matching or correction tries to make colours agree with a reference or target. Check skin and neutral whites.