flux-kontext-apps / text-removal
Remove all text from an image with FLUX.1 Kontext
- Public
- 13K runs
Prediction
flux-kontext-apps/text-removalOfficial modelID11f27nkesxrm80cq3sq9h2dczwStatusSucceededSourceWebTotal durationCreatedInput
{ "input_image": "https://replicate.delivery/pbxt/N5zgvl9eGJJOZR4csT0vYpU7O3gjP7JRjZSSOxTXppnLnhtD/almost-famous.jpeg", "aspect_ratio": "match_input_image" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { input_image: "https://replicate.delivery/pbxt/N5zgvl9eGJJOZR4csT0vYpU7O3gjP7JRjZSSOxTXppnLnhtD/almost-famous.jpeg", aspect_ratio: "match_input_image" }; const output = await replicate.run("flux-kontext-apps/text-removal", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "flux-kontext-apps/text-removal", input={ "input_image": "https://replicate.delivery/pbxt/N5zgvl9eGJJOZR4csT0vYpU7O3gjP7JRjZSSOxTXppnLnhtD/almost-famous.jpeg", "aspect_ratio": "match_input_image" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "input_image": "https://replicate.delivery/pbxt/N5zgvl9eGJJOZR4csT0vYpU7O3gjP7JRjZSSOxTXppnLnhtD/almost-famous.jpeg", "aspect_ratio": "match_input_image" } }' \ https://api.replicate.com/v1/models/flux-kontext-apps/text-removal/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-29T23:44:09.837981Z", "created_at": "2025-05-29T23:44:03.279000Z", "data_removed": false, "error": null, "id": "11f27nkesxrm80cq3sq9h2dczw", "input": { "input_image": "https://replicate.delivery/pbxt/N5zgvl9eGJJOZR4csT0vYpU7O3gjP7JRjZSSOxTXppnLnhtD/almost-famous.jpeg", "aspect_ratio": "match_input_image" }, "logs": "Using seed: 1398757124\nGenerating...\nGenerated image in 5.0sec\nDownloading 1696417 bytes\nDownloaded 1.62MB in 1.30sec", "metrics": { "predict_time": 6.546801246, "total_time": 6.558981 }, "output": "https://replicate.delivery/xezq/RV94trKNWewQNaVE0rdOZfxBrBy0LyafxHTdEGRz1feJpRNmC/tmpkt8iuafg.png", "started_at": "2025-05-29T23:44:03.291180Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-sgvmrywpkxwyirul5n7vprfiodzy7nn5qruiipbrfv5zcpom54zq", "get": "https://api.replicate.com/v1/predictions/11f27nkesxrm80cq3sq9h2dczw", "cancel": "https://api.replicate.com/v1/predictions/11f27nkesxrm80cq3sq9h2dczw/cancel" }, "version": "hidden" }
Prediction
flux-kontext-apps/text-removalOfficial modelIDbp7xw8kme5rme0cq3sssr3p8pgStatusSucceededSourceWebTotal durationCreatedInput
{ "input_image": "https://replicate.delivery/pbxt/N5zm767gW2pn7Bik873brGcF2biDmuk8mNfvQsizKGffPgF6/back-to-the-future.jpg", "aspect_ratio": "match_input_image" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { input_image: "https://replicate.delivery/pbxt/N5zm767gW2pn7Bik873brGcF2biDmuk8mNfvQsizKGffPgF6/back-to-the-future.jpg", aspect_ratio: "match_input_image" }; const output = await replicate.run("flux-kontext-apps/text-removal", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "flux-kontext-apps/text-removal", input={ "input_image": "https://replicate.delivery/pbxt/N5zm767gW2pn7Bik873brGcF2biDmuk8mNfvQsizKGffPgF6/back-to-the-future.jpg", "aspect_ratio": "match_input_image" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "input_image": "https://replicate.delivery/pbxt/N5zm767gW2pn7Bik873brGcF2biDmuk8mNfvQsizKGffPgF6/back-to-the-future.jpg", "aspect_ratio": "match_input_image" } }' \ https://api.replicate.com/v1/models/flux-kontext-apps/text-removal/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-29T23:49:39.173944Z", "created_at": "2025-05-29T23:49:32.401000Z", "data_removed": false, "error": null, "id": "bp7xw8kme5rme0cq3sssr3p8pg", "input": { "input_image": "https://replicate.delivery/pbxt/N5zm767gW2pn7Bik873brGcF2biDmuk8mNfvQsizKGffPgF6/back-to-the-future.jpg", "aspect_ratio": "match_input_image" }, "logs": "Using seed: 2144142564\nGenerating...\nGenerated image in 5.3sec\nDownloading 1654886 bytes\nDownloaded 1.58MB in 1.34sec", "metrics": { "image_count": 1, "predict_time": 6.764607928, "total_time": 6.772944 }, "output": "https://replicate.delivery/xezq/DJ2GHzXSPpIaCxtlWbqNBqWPjEqQMil22XrGeQqRzUeTSqxUA/tmpe2600a0j.png", "started_at": "2025-05-29T23:49:32.409336Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-v5uncd7akynsmnubpie6765u6exqme5wp4ktnqdeui7ngxjfeu2a", "get": "https://api.replicate.com/v1/predictions/bp7xw8kme5rme0cq3sssr3p8pg", "cancel": "https://api.replicate.com/v1/predictions/bp7xw8kme5rme0cq3sssr3p8pg/cancel" }, "version": "hidden" }
Prediction
flux-kontext-apps/text-removalOfficial modelIDafhw4fg7dnrme0cq3swvqjqjagStatusSucceededSourceWebTotal durationCreatedInput
{ "input_image": "https://replicate.delivery/pbxt/N5zruX7SGhilaFSuMrD8P6L7y7JQoWXFJQUqmNkzxofYFeOW/minecraft.jpg", "aspect_ratio": "match_input_image" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { input_image: "https://replicate.delivery/pbxt/N5zruX7SGhilaFSuMrD8P6L7y7JQoWXFJQUqmNkzxofYFeOW/minecraft.jpg", aspect_ratio: "match_input_image" }; const output = await replicate.run("flux-kontext-apps/text-removal", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "flux-kontext-apps/text-removal", input={ "input_image": "https://replicate.delivery/pbxt/N5zruX7SGhilaFSuMrD8P6L7y7JQoWXFJQUqmNkzxofYFeOW/minecraft.jpg", "aspect_ratio": "match_input_image" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "input_image": "https://replicate.delivery/pbxt/N5zruX7SGhilaFSuMrD8P6L7y7JQoWXFJQUqmNkzxofYFeOW/minecraft.jpg", "aspect_ratio": "match_input_image" } }' \ https://api.replicate.com/v1/models/flux-kontext-apps/text-removal/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-29T23:55:44.600624Z", "created_at": "2025-05-29T23:55:37.709000Z", "data_removed": false, "error": null, "id": "afhw4fg7dnrme0cq3swvqjqjag", "input": { "input_image": "https://replicate.delivery/pbxt/N5zruX7SGhilaFSuMrD8P6L7y7JQoWXFJQUqmNkzxofYFeOW/minecraft.jpg", "aspect_ratio": "match_input_image" }, "logs": "Using seed: 1572238425\nGenerating...\nGenerated image in 5.5sec\nDownloading 1781000 bytes\nDownloaded 1.70MB in 1.25sec", "metrics": { "image_count": 1, "predict_time": 6.882159319, "total_time": 6.891624 }, "output": "https://replicate.delivery/xezq/u36WHx3jfoVWfE6WxEHh4fthb6gbEO50kMJkOayhhERAwUjpA/tmpo2sth0q6.png", "started_at": "2025-05-29T23:55:37.718464Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-cwmfolg26kgha4zqi6oim3abocmxruh343t7bnou4hwuwhknhfka", "get": "https://api.replicate.com/v1/predictions/afhw4fg7dnrme0cq3swvqjqjag", "cancel": "https://api.replicate.com/v1/predictions/afhw4fg7dnrme0cq3swvqjqjag/cancel" }, "version": "hidden" }
Prediction
flux-kontext-apps/text-removalOfficial modelIDx2ztpfc7qdrm80cq3sxst600z0StatusSucceededSourceWebTotal durationCreatedInput
{ "input_image": "https://replicate.delivery/pbxt/N5zuUKrboiuuApTVSCKBRmATM6KJ6s2NyV3Rbcud9Cr2O3H2/social_network_2011.webp", "aspect_ratio": "match_input_image" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { input_image: "https://replicate.delivery/pbxt/N5zuUKrboiuuApTVSCKBRmATM6KJ6s2NyV3Rbcud9Cr2O3H2/social_network_2011.webp", aspect_ratio: "match_input_image" }; const output = await replicate.run("flux-kontext-apps/text-removal", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "flux-kontext-apps/text-removal", input={ "input_image": "https://replicate.delivery/pbxt/N5zuUKrboiuuApTVSCKBRmATM6KJ6s2NyV3Rbcud9Cr2O3H2/social_network_2011.webp", "aspect_ratio": "match_input_image" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "input_image": "https://replicate.delivery/pbxt/N5zuUKrboiuuApTVSCKBRmATM6KJ6s2NyV3Rbcud9Cr2O3H2/social_network_2011.webp", "aspect_ratio": "match_input_image" } }' \ https://api.replicate.com/v1/models/flux-kontext-apps/text-removal/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-29T23:58:26.898131Z", "created_at": "2025-05-29T23:58:21.627000Z", "data_removed": false, "error": null, "id": "x2ztpfc7qdrm80cq3sxst600z0", "input": { "input_image": "https://replicate.delivery/pbxt/N5zuUKrboiuuApTVSCKBRmATM6KJ6s2NyV3Rbcud9Cr2O3H2/social_network_2011.webp", "aspect_ratio": "match_input_image" }, "logs": "Using seed: 312792239\nGenerating...\nGenerated image in 4.8sec\nDownloading 1060060 bytes\nDownloaded 1.01MB in 0.32sec", "metrics": { "image_count": 1, "predict_time": 5.259358705, "total_time": 5.271131 }, "output": "https://replicate.delivery/xezq/takw3egsFMxdf0ZNyfXJGExDQRGZxAr7eP0ZfCcxFIRQUTNmC/tmpdfs3p6gt.png", "started_at": "2025-05-29T23:58:21.638772Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-fwqztupixbbj4whqnrqak35zyxhqxhwwqsh5wzhmif3xo4kde46a", "get": "https://api.replicate.com/v1/predictions/x2ztpfc7qdrm80cq3sxst600z0", "cancel": "https://api.replicate.com/v1/predictions/x2ztpfc7qdrm80cq3sxst600z0/cancel" }, "version": "hidden" }
Prediction
flux-kontext-apps/text-removalOfficial modelID79m2qp1hqsrme0cq3t1afq6vkmStatusSucceededSourceWebTotal durationCreatedInput
{ "input_image": "https://replicate.delivery/pbxt/N601Of44YShEEr0WfQHqzvNVOgyWxFKXTIlya4MLuaH3HNDk/spirited-away.jpg", "aspect_ratio": "match_input_image" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { input_image: "https://replicate.delivery/pbxt/N601Of44YShEEr0WfQHqzvNVOgyWxFKXTIlya4MLuaH3HNDk/spirited-away.jpg", aspect_ratio: "match_input_image" }; const output = await replicate.run("flux-kontext-apps/text-removal", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "flux-kontext-apps/text-removal", input={ "input_image": "https://replicate.delivery/pbxt/N601Of44YShEEr0WfQHqzvNVOgyWxFKXTIlya4MLuaH3HNDk/spirited-away.jpg", "aspect_ratio": "match_input_image" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "input_image": "https://replicate.delivery/pbxt/N601Of44YShEEr0WfQHqzvNVOgyWxFKXTIlya4MLuaH3HNDk/spirited-away.jpg", "aspect_ratio": "match_input_image" } }' \ https://api.replicate.com/v1/models/flux-kontext-apps/text-removal/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-30T00:05:44.470496Z", "created_at": "2025-05-30T00:05:38.366000Z", "data_removed": false, "error": null, "id": "79m2qp1hqsrme0cq3t1afq6vkm", "input": { "input_image": "https://replicate.delivery/pbxt/N601Of44YShEEr0WfQHqzvNVOgyWxFKXTIlya4MLuaH3HNDk/spirited-away.jpg", "aspect_ratio": "match_input_image" }, "logs": "Using seed: 1361715797\nGenerating...\nGenerated image in 4.5sec\nDownloading 1169918 bytes\nDownloaded 1.12MB in 1.44sec", "metrics": { "image_count": 1, "predict_time": 6.094354469, "total_time": 6.104496 }, "output": "https://replicate.delivery/xezq/T6rJXXH9sCZSPlDe0IgjaOsCpmf9CvBzUqtotYhsowBYhqxUA/tmp2idode4e.png", "started_at": "2025-05-30T00:05:38.376142Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-cexaiw6abzcv5tbxdxxlpgm2kpft2z5a4jkbeghortzga4ui3pra", "get": "https://api.replicate.com/v1/predictions/79m2qp1hqsrme0cq3t1afq6vkm", "cancel": "https://api.replicate.com/v1/predictions/79m2qp1hqsrme0cq3t1afq6vkm/cancel" }, "version": "hidden" }
Prediction
flux-kontext-apps/text-removalOfficial modelIDhtdx320kq5rma0cq3t1s5ah64rStatusSucceededSourceWebTotal durationCreatedInput
{ "input_image": "https://replicate.delivery/pbxt/N602Ib1EwwVBP8UuXaHRREoX5r4oxbffWctpLCU6FC7cY8Iu/shawshank-redepmtion.jpg", "aspect_ratio": "match_input_image" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { input_image: "https://replicate.delivery/pbxt/N602Ib1EwwVBP8UuXaHRREoX5r4oxbffWctpLCU6FC7cY8Iu/shawshank-redepmtion.jpg", aspect_ratio: "match_input_image" }; const output = await replicate.run("flux-kontext-apps/text-removal", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "flux-kontext-apps/text-removal", input={ "input_image": "https://replicate.delivery/pbxt/N602Ib1EwwVBP8UuXaHRREoX5r4oxbffWctpLCU6FC7cY8Iu/shawshank-redepmtion.jpg", "aspect_ratio": "match_input_image" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run flux-kontext-apps/text-removal using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "input_image": "https://replicate.delivery/pbxt/N602Ib1EwwVBP8UuXaHRREoX5r4oxbffWctpLCU6FC7cY8Iu/shawshank-redepmtion.jpg", "aspect_ratio": "match_input_image" } }' \ https://api.replicate.com/v1/models/flux-kontext-apps/text-removal/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-30T00:06:42.623599Z", "created_at": "2025-05-30T00:06:36.217000Z", "data_removed": false, "error": null, "id": "htdx320kq5rma0cq3t1s5ah64r", "input": { "input_image": "https://replicate.delivery/pbxt/N602Ib1EwwVBP8UuXaHRREoX5r4oxbffWctpLCU6FC7cY8Iu/shawshank-redepmtion.jpg", "aspect_ratio": "match_input_image" }, "logs": "Using seed: 1620786878\nGenerating...\nGenerated image in 5.0sec\nDownloading 1571387 bytes\nDownloaded 1.50MB in 1.31sec", "metrics": { "image_count": 1, "predict_time": 6.398418346, "total_time": 6.406599 }, "output": "https://replicate.delivery/xezq/Fe7jOI1ah2RxAyKKa1IfAe0FWbaHWrGO0eiCQDrvcNVIJqGTB/tmpania4zq9.png", "started_at": "2025-05-30T00:06:36.225181Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-3qzesx4lffncwoai5p2rhw6hvcgs6hhhthr7szlj7c6hq3forlwq", "get": "https://api.replicate.com/v1/predictions/htdx320kq5rma0cq3t1s5ah64r", "cancel": "https://api.replicate.com/v1/predictions/htdx320kq5rma0cq3t1s5ah64r/cancel" }, "version": "hidden" }
Want to make some of these yourself?
Run this model