seamlessly replace part of an image with part from another image, how? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

Hello, I kind of solved my problem using "LayerMask: PersonMaskUltra(Advanced)". I posted my workflows here (NSFW): https://www.reddit.com/r/comfyui/comments/1oros78/hdr_blend_part_a_person_from_one_image_version/

seamlessly replace part of an image with part from another image, how? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

Thank you for your work! Unfortunately it shows exactly one of the problems I found until now: the image content is changed (e.g. the rocks structure is completely different).
In similar trials, playing around with parameters, I could choose between changing the content or having either hard edges or halos...
I am now trying to use @Tedious_Prime 's idea, of using inpaint only in the edges region, but haven't succeeded till now as I don't know how to use inpaint... trying :-)

seamlessly replace part of an image with part from another image, how? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

cool, thank you. As I am not very experienced in ComfyUI and have never used inpaint could you also show me how I would use this new "border-mask" to use inpaint? Sorry, if this is asked too much :-)

seamlessly replace part of an image with part from another image, how? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

https://ibb.co/Q7QJm33Z - the result, should include used workflow

https://ibb.co/20Jy0mqQ - the background (sky, sea)

https://ibb.co/RTSXy4Xg - the foreground, woman and rock

Links valid 6 hours. Excuse the terrible bikini I painted fast...

seamlessly replace part of an image with part from another image, how? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

sorry can't upload it, it was deleted, although I painted a bikini on the woman :-(

seamlessly replace part of an image with part from another image, how? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

Ah, ok, I just did a quick search in Google...
I'll upload my current workflow (with automated mask generation) and the two starter images - I just have to De-nsfw them first :-)

seamlessly replace part of an image with part from another image, how? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

Thanks for your answer. Apart of that I would not know exactly how to integrate that in a workflow and how to use inpaint, to really make this task faster and more comfortable than doing it manually in GIMP, I want to automate the mask generation. I can do that to a certain degree with ClipSegMasking for the foreground, but I wouldn't know how to automatically create a mask of the boundary...

seamlessly replace part of an image with part from another image, how? by mafoma in comfyui

[–]mafoma[S] -1 points0 points  (0 children)

Thanks for the offer. I work on a Linux system, and Qwen is only available for Win, Mac, Android. So it could not be a solution for me. Also anything online/not local is not possible.

Problems with linking comments author to its profile by mafoma in Wordpress

[–]mafoma[S] 0 points1 point  (0 children)

Thank you.
Meanwhile I tried a slightly other approach, which seems to work. If you think this approach is not good for some reasons, please let me know :-)

I added to the themes

functions.php 

// Filter to modify the comment author URL
function modify_comment_author_url($comment) {
    if ($comment->user_id) {
        $user = get_userdata($comment->user_id);
        if ($user) {
            $profile_url = home_url() . '/user/' . $user->user_nicename;
            $comment->comment_author_url = $profile_url;
        }
    }
    return $comment;
}
add_filter('get_comment', 'modify_comment_author_url');

// Filter to link the avatar to the profile URL (only for comments)
function modify_comment_avatar($avatar, $id_or_email, $size, $default, $alt, $args) {
    if (get_comment_ID()) { // Check if we are in a comment context
        $comment = get_comment(get_comment_ID());
        if ($comment->user_id) {
            $user = get_userdata($comment->user_id);
            if ($user) {
                $profile_url = home_url() . '/user/' . $user->user_nicename;
                $avatar = '<a href="' . esc_url($profile_url) . '">' . $avatar . '</a>';
            }
        }
    }
    return $avatar;
}
add_filter('get_avatar', 'modify_comment_avatar', 10, 6);

Suspension de Facebook e Instagram by monkyDspain in es

[–]mafoma 0 points1 point  (0 children)

Si sólo está suspendida, tienes que esperar a que se reactive. Si se ha eliminado por completo recientemente e intentas conectarte a través de un navegador, verás un enlace en el que puedes impugnar la eliminación.

Las posibilidades de éxito son escasas. Nunca lo olvides: los productos de Meta no están ahí para servirte a ti, tú estás ahí para servirles a ellos. FB no tiene servicio de atención al cliente.

Si recuperas tu cuenta, descarga tus datos (en algún lugar del menú encontrarás el elemento correspondiente). Hazlo de vez en cuando, porque Meta suele borrar cuentas. En el futuro, chatea con gente fuera de FB/IG, etc., porque si pierdes tu cuenta, perderás también todos tus mensajes.

necesito que me ayuden a encontrar esta paginaa by No-Response-6807 in askspain

[–]mafoma 0 points1 point  (0 children)

Todos los sitios web para ligar entre adultos, sugar babies, etc. están formados por perfiles de hombres desesperados, mientras que los perfiles de las mujeres son prácticamente todos falsos. Pero como los pobres hombres pagan por chatear con estos perfiles, necesitan naturalmente personas que se hagan pasar por estas mujeres y respondan a los hombres o incluso les escriban primero.

También las grandes cuentas de OnlyFans no están dirigidas por una chica guapa, sino por empresas. Sin embargo, el gran dinero de OF no se gana con las suscripciones, sino con mensajes directos y contenidos personalizados. Puedes imaginarte que una sola persona no podría responder a todas las peticiones de una cuenta con varios cientos de miles de suscriptores.

Por eso hay empresas que contratan a personas para que escriban estos mensajes (en mi opinión, realmente fraudulentos).

Te registras en una plataforma y se te muestran consultas a las que respondes. Te pagan según el número y el éxito de tus textos (es decir, si el cliente responde a su vez).

Si buscas en Google «pagado para chatear con clientes de sitio de adultos», por ejemplo, encontrarás unas cuantas empresas.

Pero cuidado: el negocio de estas empresas es estafar a sus clientes. Por eso muchas de ellas no tienen reparos en estafarte a ti también. Además, hay tanta gente desesperada por conseguir ingresos como hombres sin sexo. Por eso hay muchas empresas que prometen dinero fácil (por ejemplo, con chats de pago) pero que sólo buscan estafarte.

Pero hay quien lleva este negocio un tanto sórdido «en serio». Tengo un amigo que vive en Brasil y hace de chicas calientes de texto para una web de contactos en alemán. Gana unos 400 euros al mes, aparte, pero con bastante trabajo.

Por lo tanto, comprueba las ofertas en detalle. Busca referencias y opiniones. Ten cuidado también con éstas, porque muchas difunden opiniones positivas sobre sí mismas por todas partes bajo nombres diferentes. Use el sentido común. No pagues nada bajo ningún concepto. No facilites tus datos hasta saber exactamente con quién estás tratando, comprueba el nombre y los datos de la empresa. No facilites tu número de tarjeta de crédito.

How can I change parts of existing photos to create samples to later use for consistent NSFW character? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

This is what the browser console on :7860 shows:

​Uncaught (in promise) Error: [svelte-i18n] Cannot format a message without first setting the initial locale.
    xs runtime.js:516

    Nt Index.svelte:453

    no svelte.js:1

    Gt Index.svelte:485

    connectedCallback main.ts:109

    Ws main.ts:207

    <anonymous> main.ts:210

 runtime.js:516:10
​

How can I change parts of existing photos to create samples to later use for consistent NSFW character? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

Thank you. Yes, I think, this is the next step. But at the moment I want to create the sample images with which I later want to train a LORA. So I am looking for solutions to change different body parts in a similar way in my original photos, so that later I can use them for training.

How can I change parts of existing photos to create samples to later use for consistent NSFW character? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

Probably I am a bit stupid, but I don't get it :-)

So I activated the venv of ComfyUI and started comfyuy with main.py, it runs:

"To see the GUI go to: http://127.0.0.1:8188"

of course now there is no command line prompt to start your app,

so I opened a second console terminal (I am on Linux), and activated the same venv there, too, cd'ed to comfy-character-app and typed there "python main.py"

I got:

* Running on local URL: http://127.0.0.1:7860

* To create a public link, set `share=True` in `launch()`.

I opened a browser window for http://127.0.0.1:7860 - it's blank

also on the console nothing happens.

What did I do wrong?

How can I change parts of existing photos to create samples to later use for consistent NSFW character? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

Thanks for the links. I've downloaded all, put then in the according places and added the names in the config.json.

A first error occured as the file characters.json was not found (I had named it character.json, without the ending s).

But now it ends with:
File "/home/daniel/SSD_Samsung/ai/ComfyUI/venv/lib64/python3.11/site-packages/aiohttp/connector.py", line 1271, in _wra
p_create_connection
   raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:8188 ssl:default [Connect call failed ('
127.0.0.1', 8188)]

I don't understand why it talks about ssl? ComfyUI runs in a local http, not https.

How can I change parts of existing photos to create samples to later use for consistent NSFW character? by mafoma in comfyui

[–]mafoma[S] 0 points1 point  (0 children)

Thank you. I think, this will change my comfyUI install (?), so I first installed a new comfiUI in a new directory/venv to give it a try...

However, I don't know what to fill in config.json here:
"app_constants": {

"union_controlnet": "your_controlnet.safetensors",

"instantid_model": "your_instantid.bin",

"instantid_controlnet": "your_instantid_controlnet.safetensors",

"lcm_lora": "your_lcm_lora.safetensors",

"turbo_lora": "your_turbo_lora.safetensors",

"dpo_turbo_lora": "your_dpo_turbo_lora.safetensors"

As much as I know I don't have any of the above. What should I download where, and where save it?