跳转到内容

探索云性生成替换:生成对象替换

贝斯特游戏大厅官网入口云形为可编程媒体添加另一个AI驱动图像处理特征:生成替换

目前在贝塔生成替换利用自然语言提示和感知AI能力检测并替换图像对象最优部分贝斯特游戏大厅官网入口通过可编程媒体强效变换API实现

潜在应用内容调适、摄影触摸和颜色清除,Geneal Reference生成填充生成删除.和另外两个工具一样, 生成替换大为减少了花在累累和劳力密集图像编辑任务上的时间

试出生成替换和其他前沿特征生成AI游戏场.

类似生成删除填充,生成替换使用开集对象检测扩散模型识别图像内对象生成替换非单纯清除检测对象并绘制周边地区图,而是更上一层楼,使用染色AI智能填充空格,使用用户自然语言提示对象填充空格取点工具实战例子

生成替换调用gen_替换e_gen替换变换效果启动调用e_gen替换后使用向:从:提示选择对象删除并用什么替换

原创图片cookie替换为cakec

花碗 花碗
<\/Image>","codeSnippet":" \n\t \n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"ai\/cookies.jpg\")\n .effect(generativeReplace().from(\"cookies\").to(\"cupcake\"))\n .setVersion(1687828060);","codeSnippet":"new CloudinaryImage(\"ai\/cookies.jpg\")\n .effect(generativeReplace().from(\"cookies\").to(\"cupcake\"))\n .setVersion(1687828060);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":" <\/cld-image>","codeSnippet":" \n\t \n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"ai\/cookies.jpg\")\n .effect(generativeReplace().from(\"cookies\").to(\"cupcake\"))\n .setVersion(1687828060);","codeSnippet":"new CloudinaryImage(\"ai\/cookies.jpg\")\n .effect(generativeReplace().from(\"cookies\").to(\"cupcake\"))\n .setVersion(1687828060);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":" <\/cl-transformation> <\/cl-image>","codeSnippet":" \n\t \n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"ai\/cookies.jpg\")\n .effect(generativeReplace().from(\"cookies\").to(\"cupcake\"))\n .setVersion(1687828060);","codeSnippet":"new CloudinaryImage(\"ai\/cookies.jpg\")\n .effect(generativeReplace().from(\"cookies\").to(\"cupcake\"))\n .setVersion(1687828060);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('ai\/cookies.jpg', {effect: \"gen_replace:from_cookies;to_cupcake\"}).toHtml();","codeSnippet":"cloudinary.imageTag('ai\/cookies.jpg', {effect: \"gen_replace:from_cookies;to_cupcake\"}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"ai\/cookies.jpg\").image(effect=\"gen_replace:from_cookies;to_cupcake\")","codeSnippet":"CloudinaryImage(\"ai\/cookies.jpg\").image(effect=\"gen_replace:from_cookies;to_cupcake\")","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('ai\/cookies.jpg'))\n\t->effect(Effect::generativeReplace()->from(\"cookies\")\n->to(\"cupcake\"))\n\t->version(1687828060);","codeSnippet":"(new ImageTag('ai\/cookies.jpg'))\n\t->effect(Effect::generativeReplace()->from(\"cookies\")\n->to(\"cupcake\"))\n\t->version(1687828060);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"ai\/cookies.jpg\", array(\"effect\"=>\"gen_replace:from_cookies;to_cupcake\"))","codeSnippet":"cl_image_tag(\"ai\/cookies.jpg\", array(\"effect\"=>\"gen_replace:from_cookies;to_cupcake\"))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().effect(\"gen_replace:from_cookies;to_cupcake\")).imageTag(\"ai\/cookies.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation().effect(\"gen_replace:from_cookies;to_cupcake\")).imageTag(\"ai\/cookies.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"ai\/cookies.jpg\", :effect=>\"gen_replace:from_cookies;to_cupcake\")","codeSnippet":"cl_image_tag(\"ai\/cookies.jpg\", :effect=>\"gen_replace:from_cookies;to_cupcake\")","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect(\"gen_replace:from_cookies;to_cupcake\")).BuildImageTag(\"ai\/cookies.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect(\"gen_replace:from_cookies;to_cupcake\")).BuildImageTag(\"ai\/cookies.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('ai\/cookies.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"cookies\")\n.to(\"cupcake\"))\n\t.version(1687828060));","codeSnippet":"cloudinary.image('ai\/cookies.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"cookies\")\n.to(\"cupcake\"))\n\t.version(1687828060));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect(\"gen_replace:from_cookies;to_cupcake\")).generate(\"ai\/cookies.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect(\"gen_replace:from_cookies;to_cupcake\")).generate(\"ai\/cookies.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().effect(\"gen_replace:from_cookies;to_cupcake\")).generate(\"ai\/cookies.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation().effect(\"gen_replace:from_cookies;to_cupcake\")).generate(\"ai\/cookies.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('ai\/cookies.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"cookies\")\n.to(\"cupcake\"))\n\t.version(1687828060));","codeSnippet":"cloudinary.image('ai\/cookies.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"cookies\")\n.to(\"cupcake\"))\n\t.version(1687828060));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"ai\/cookies.jpg\")\n\t effect(Effect.generativeReplace() { from(\"cookies\")\n to(\"cupcake\") })\n\t version(1687828060) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"ai\/cookies.jpg\")\n\t effect(Effect.generativeReplace() { from(\"cookies\")\n to(\"cupcake\") })\n\t version(1687828060) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"ai\/cookies.jpg\", {effect: \"gen_replace:from_cookies;to_cupcake\"})","codeSnippet":"$.cloudinary.image(\"ai\/cookies.jpg\", {effect: \"gen_replace:from_cookies;to_cupcake\"})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"ai\/cookies.jpg\")\n .effect(generativeReplace().from(\"cookies\").to(\"cupcake\"))\n .setVersion(1687828060);","codeSnippet":"new CloudinaryImage(\"ai\/cookies.jpg\")\n .effect(generativeReplace().from(\"cookies\").to(\"cupcake\"))\n .setVersion(1687828060);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/e_gen_replace:from_cookies;to_cupcake\/v1687828060\/ai\/cookies.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"effect":"gen_replace:from_cookies;to_cupcake"}],"transformation_string":"e_gen_replace:from_cookies;to_cupcake","url_suffix":"","version":"1687828060","secure":true,"public_id":"ai\/cookies.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" > 加载代码示例

例子中,我们用同法换换模式所穿的衣服

花碗 花碗
<\/Image>","codeSnippet":" \n\t \n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\")\n .effect(generativeReplace().from(\"shirt\").to(\"suit_jacket\"))\n .setVersion(1688737277);","codeSnippet":"new CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\")\n .effect(generativeReplace().from(\"shirt\").to(\"suit_jacket\"))\n .setVersion(1688737277);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":" <\/cld-image>","codeSnippet":" \n\t \n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\")\n .effect(generativeReplace().from(\"shirt\").to(\"suit_jacket\"))\n .setVersion(1688737277);","codeSnippet":"new CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\")\n .effect(generativeReplace().from(\"shirt\").to(\"suit_jacket\"))\n .setVersion(1688737277);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":" <\/cl-transformation> <\/cl-image>","codeSnippet":" \n\t \n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\")\n .effect(generativeReplace().from(\"shirt\").to(\"suit_jacket\"))\n .setVersion(1688737277);","codeSnippet":"new CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\")\n .effect(generativeReplace().from(\"shirt\").to(\"suit_jacket\"))\n .setVersion(1688737277);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('ai\/model_plain_sweatshirt.jpg', {effect: \"gen_replace:from_shirt;to_suit_jacket\"}).toHtml();","codeSnippet":"cloudinary.imageTag('ai\/model_plain_sweatshirt.jpg', {effect: \"gen_replace:from_shirt;to_suit_jacket\"}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\").image(effect=\"gen_replace:from_shirt;to_suit_jacket\")","codeSnippet":"CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\").image(effect=\"gen_replace:from_shirt;to_suit_jacket\")","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('ai\/model_plain_sweatshirt.jpg'))\n\t->effect(Effect::generativeReplace()->from(\"shirt\")\n->to(\"suit_jacket\"))\n\t->version(1688737277);","codeSnippet":"(new ImageTag('ai\/model_plain_sweatshirt.jpg'))\n\t->effect(Effect::generativeReplace()->from(\"shirt\")\n->to(\"suit_jacket\"))\n\t->version(1688737277);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"ai\/model_plain_sweatshirt.jpg\", array(\"effect\"=>\"gen_replace:from_shirt;to_suit_jacket\"))","codeSnippet":"cl_image_tag(\"ai\/model_plain_sweatshirt.jpg\", array(\"effect\"=>\"gen_replace:from_shirt;to_suit_jacket\"))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().effect(\"gen_replace:from_shirt;to_suit_jacket\")).imageTag(\"ai\/model_plain_sweatshirt.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation().effect(\"gen_replace:from_shirt;to_suit_jacket\")).imageTag(\"ai\/model_plain_sweatshirt.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"ai\/model_plain_sweatshirt.jpg\", :effect=>\"gen_replace:from_shirt;to_suit_jacket\")","codeSnippet":"cl_image_tag(\"ai\/model_plain_sweatshirt.jpg\", :effect=>\"gen_replace:from_shirt;to_suit_jacket\")","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect(\"gen_replace:from_shirt;to_suit_jacket\")).BuildImageTag(\"ai\/model_plain_sweatshirt.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect(\"gen_replace:from_shirt;to_suit_jacket\")).BuildImageTag(\"ai\/model_plain_sweatshirt.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('ai\/model_plain_sweatshirt.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"shirt\")\n.to(\"suit_jacket\"))\n\t.version(1688737277));","codeSnippet":"cloudinary.image('ai\/model_plain_sweatshirt.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"shirt\")\n.to(\"suit_jacket\"))\n\t.version(1688737277));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect(\"gen_replace:from_shirt;to_suit_jacket\")).generate(\"ai\/model_plain_sweatshirt.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect(\"gen_replace:from_shirt;to_suit_jacket\")).generate(\"ai\/model_plain_sweatshirt.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().effect(\"gen_replace:from_shirt;to_suit_jacket\")).generate(\"ai\/model_plain_sweatshirt.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation().effect(\"gen_replace:from_shirt;to_suit_jacket\")).generate(\"ai\/model_plain_sweatshirt.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('ai\/model_plain_sweatshirt.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"shirt\")\n.to(\"suit_jacket\"))\n\t.version(1688737277));","codeSnippet":"cloudinary.image('ai\/model_plain_sweatshirt.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"shirt\")\n.to(\"suit_jacket\"))\n\t.version(1688737277));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"ai\/model_plain_sweatshirt.jpg\")\n\t effect(Effect.generativeReplace() { from(\"shirt\")\n to(\"suit_jacket\") })\n\t version(1688737277) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"ai\/model_plain_sweatshirt.jpg\")\n\t effect(Effect.generativeReplace() { from(\"shirt\")\n to(\"suit_jacket\") })\n\t version(1688737277) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"ai\/model_plain_sweatshirt.jpg\", {effect: \"gen_replace:from_shirt;to_suit_jacket\"})","codeSnippet":"$.cloudinary.image(\"ai\/model_plain_sweatshirt.jpg\", {effect: \"gen_replace:from_shirt;to_suit_jacket\"})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\")\n .effect(generativeReplace().from(\"shirt\").to(\"suit_jacket\"))\n .setVersion(1688737277);","codeSnippet":"new CloudinaryImage(\"ai\/model_plain_sweatshirt.jpg\")\n .effect(generativeReplace().from(\"shirt\").to(\"suit_jacket\"))\n .setVersion(1688737277);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/e_gen_replace:from_shirt;to_suit_jacket\/v1688737277\/ai\/model_plain_sweatshirt.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"effect":"gen_replace:from_shirt;to_suit_jacket"}],"transformation_string":"e_gen_replace:from_shirt;to_suit_jacket","url_suffix":"","version":"1688737277","secure":true,"public_id":"ai\/model_plain_sweatshirt.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" > 加载代码示例

默认e_gen替换使用空间替换对象可请求生成填充使用唯一区域删除带新对象增加层精度特性点名请求用空格替换空格 并用serve_Geology设置为真我们知道它只使用对象所占用空间

花碗 花碗
<\/Image>","codeSnippet":" \n\t \n\t \n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\")\n .effect(\n generativeReplace()\n .from(\"blank canvas\")\n .to(\"a van gough style painting of a town at night\")\n .preserveGeometry()\n )\n .resize(scale().width(1024))\n .setVersion(1688228955);","codeSnippet":"new CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\")\n .effect(\n generativeReplace()\n .from(\"blank canvas\")\n .to(\"a van gough style painting of a town at night\")\n .preserveGeometry()\n )\n .resize(scale().width(1024))\n .setVersion(1688228955);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":" <\/cld-image>","codeSnippet":" \n\t \n\t \n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\")\n .effect(\n generativeReplace()\n .from(\"blank canvas\")\n .to(\"a van gough style painting of a town at night\")\n .preserveGeometry()\n )\n .resize(scale().width(1024))\n .setVersion(1688228955);","codeSnippet":"new CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\")\n .effect(\n generativeReplace()\n .from(\"blank canvas\")\n .to(\"a van gough style painting of a town at night\")\n .preserveGeometry()\n )\n .resize(scale().width(1024))\n .setVersion(1688228955);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":" <\/cl-transformation> <\/cl-transformation> <\/cl-image>","codeSnippet":" \n\t \n\t<\/cl-transformation>\n\t \n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\")\n .effect(\n generativeReplace()\n .from(\"blank canvas\")\n .to(\"a van gough style painting of a town at night\")\n .preserveGeometry()\n )\n .resize(scale().width(1024))\n .setVersion(1688228955);","codeSnippet":"new CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\")\n .effect(\n generativeReplace()\n .from(\"blank canvas\")\n .to(\"a van gough style painting of a town at night\")\n .preserveGeometry()\n )\n .resize(scale().width(1024))\n .setVersion(1688228955);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('ai\/pexels-angela-roma-7319326.jpg', {transformation: [ {effect: \"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\"}, {width: 1024, crop: \"scale\"} ]}).toHtml();","codeSnippet":"cloudinary.imageTag('ai\/pexels-angela-roma-7319326.jpg', {transformation: [\n {effect: \"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\"},\n {width: 1024, crop: \"scale\"}\n ]}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\").image(transformation=[ {'effect': \"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_True\"}, {'width': 1024, 'crop': \"scale\"} ])","codeSnippet":"CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\").image(transformation=[\n {'effect': \"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_True\"},\n {'width': 1024, 'crop': \"scale\"}\n ])","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('ai\/pexels-angela-roma-7319326.jpg'))\n\t->effect(Effect::generativeReplace()->from(\"blank canvas\")\n->to(\"a van gough style painting of a town at night\")\n->preserveGeometry())\n\t->resize(Resize::scale()->width(1024))\n\t->version(1688228955);","codeSnippet":"(new ImageTag('ai\/pexels-angela-roma-7319326.jpg'))\n\t->effect(Effect::generativeReplace()->from(\"blank canvas\")\n->to(\"a van gough style painting of a town at night\")\n->preserveGeometry())\n\t->resize(Resize::scale()->width(1024))\n\t->version(1688228955);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"ai\/pexels-angela-roma-7319326.jpg\", array(\"transformation\"=>array( array(\"effect\"=>\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\"), array(\"width\"=>1024, \"crop\"=>\"scale\") )))","codeSnippet":"cl_image_tag(\"ai\/pexels-angela-roma-7319326.jpg\", array(\"transformation\"=>array(\n array(\"effect\"=>\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\"),\n array(\"width\"=>1024, \"crop\"=>\"scale\")\n )))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().effect(\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\").chain() .width(1024).crop(\"scale\")).imageTag(\"ai\/pexels-angela-roma-7319326.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation()\n .effect(\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\").chain()\n .width(1024).crop(\"scale\")).imageTag(\"ai\/pexels-angela-roma-7319326.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"ai\/pexels-angela-roma-7319326.jpg\", :transformation=>[ {:effect=>\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\"}, {:width=>1024, :crop=>\"scale\"} ])","codeSnippet":"cl_image_tag(\"ai\/pexels-angela-roma-7319326.jpg\", :transformation=>[\n {:effect=>\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\"},\n {:width=>1024, :crop=>\"scale\"}\n ])","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Effect(\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\").Chain() .Width(1024).Crop(\"scale\")).BuildImageTag(\"ai\/pexels-angela-roma-7319326.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation()\n .Effect(\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\").Chain()\n .Width(1024).Crop(\"scale\")).BuildImageTag(\"ai\/pexels-angela-roma-7319326.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('ai\/pexels-angela-roma-7319326.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"blank canvas\")\n.to(\"a van gough style painting of a town at night\")\n.preserveGeometry())\n\t.resize(Resize.scale().width(1024))\n\t.version(1688228955));","codeSnippet":"cloudinary.image('ai\/pexels-angela-roma-7319326.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"blank canvas\")\n.to(\"a van gough style painting of a town at night\")\n.preserveGeometry())\n\t.resize(Resize.scale().width(1024))\n\t.version(1688228955));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setEffect(\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\").chain() .setWidth(1024).setCrop(\"scale\")).generate(\"ai\/pexels-angela-roma-7319326.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\n .setEffect(\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\").chain()\n .setWidth(1024).setCrop(\"scale\")).generate(\"ai\/pexels-angela-roma-7319326.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().effect(\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\").chain() .width(1024).crop(\"scale\")).generate(\"ai\/pexels-angela-roma-7319326.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation()\n .effect(\"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\").chain()\n .width(1024).crop(\"scale\")).generate(\"ai\/pexels-angela-roma-7319326.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('ai\/pexels-angela-roma-7319326.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"blank canvas\")\n.to(\"a van gough style painting of a town at night\")\n.preserveGeometry())\n\t.resize(Resize.scale().width(1024))\n\t.version(1688228955));","codeSnippet":"cloudinary.image('ai\/pexels-angela-roma-7319326.jpg').transformation(Transformation()\n\t.effect(Effect.generativeReplace().from(\"blank canvas\")\n.to(\"a van gough style painting of a town at night\")\n.preserveGeometry())\n\t.resize(Resize.scale().width(1024))\n\t.version(1688228955));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"ai\/pexels-angela-roma-7319326.jpg\")\n\t effect(Effect.generativeReplace() { from(\"blank canvas\")\n to(\"a van gough style painting of a town at night\")\n preserveGeometry() })\n\t resize(Resize.scale() { width(1024) })\n\t version(1688228955) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"ai\/pexels-angela-roma-7319326.jpg\")\n\t effect(Effect.generativeReplace() { from(\"blank canvas\")\n to(\"a van gough style painting of a town at night\")\n preserveGeometry() })\n\t resize(Resize.scale() { width(1024) })\n\t version(1688228955) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"ai\/pexels-angela-roma-7319326.jpg\", {transformation: [ {effect: \"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\"}, {width: 1024, crop: \"scale\"} ]})","codeSnippet":"$.cloudinary.image(\"ai\/pexels-angela-roma-7319326.jpg\", {transformation: [\n {effect: \"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\"},\n {width: 1024, crop: \"scale\"}\n ]})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\")\n .effect(\n generativeReplace()\n .from(\"blank canvas\")\n .to(\"a van gough style painting of a town at night\")\n .preserveGeometry()\n )\n .resize(scale().width(1024))\n .setVersion(1688228955);","codeSnippet":"new CloudinaryImage(\"ai\/pexels-angela-roma-7319326.jpg\")\n .effect(\n generativeReplace()\n .from(\"blank canvas\")\n .to(\"a van gough style painting of a town at night\")\n .preserveGeometry()\n )\n .resize(scale().width(1024))\n .setVersion(1688228955);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/e_gen_replace:from_blank%20canvas;to_a%20van%20gough%20style%20painting%20of%20a%20town%20at%20night;preserve-geometry_true\/w_1024\/v1688228955\/ai\/pexels-angela-roma-7319326.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"effect":"gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true"},{"width":"1024"}],"transformation_string":"e_gen_replace:from_blank canvas;to_a van gough style painting of a town at night;preserve-geometry_true\/w_1024","url_suffix":"","version":"1688228955","secure":true,"public_id":"ai\/pexels-angela-roma-7319326.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" > 加载代码示例

简单视频显示更多例子

创建账户启动

注释 :

特征化为贝塔请查查文档记录获取更多信息或试演示文集.

生成替换开通世界 各种行业的可能性部分使用案例

  1. E-commerce/fashion.生成替换改变模型服装样式
  2. 广告生成替换可改变后台对象,允许产品设置无缝修改举个例子,你可以用南瓜替换图中花束 制作季节主题广告或产品拍 捕捉目标对象注意力
  3. 内容适中性内容适配用生成替换提高效率和效力用户很容易替换不良对象,以确保对不同对象的适切性比方说啤酒瓶可用果汁瓶替换, 将图像转换成适合网站或运动的家庭友好版
  4. 即时进化变色云化持续扩展特征集 地平线上令人振奋的加法是生成色填充即时特征将帮助用户不遗余力创建产品色变用户可以通过快速修改对象颜色选择对象从单原型图片生成多色变电子商务企业想高效和大规模展示产品选项时,这一功能将证明是无价之宝。

云化变换特征简化对象替换 通过感化AI和自然语言提示力用户通过无缝替换图像对象,可实现令人印象深刻的变换并增强他们的创举工作流无论是变换产品摄影、确保内容适中性或创建动态色变

回顶

特征邮箱

Baidu
map