Files
Allan Saddi d2c3263d8f Text Latch: Add a "replace" switch.
Also update all examples and images using the new Text Latch.
2024-11-03 15:21:48 -08:00

259 lines
7.6 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"last_node_id": 5,
"last_link_id": 4,
"nodes": [
{
"id": 3,
"type": "LLMTemperature",
"pos": {
"0": 200,
"1": 450
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "previous",
"type": "LLMSAMPLER",
"link": 1,
"shape": 7
}
],
"outputs": [
{
"name": "llm_sampler",
"type": "LLMSAMPLER",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LLMTemperature"
},
"widgets_values": [
0.8
]
},
{
"id": 4,
"type": "LLMMinP",
"pos": {
"0": 200,
"1": 550
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "previous",
"type": "LLMSAMPLER",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "llm_sampler",
"type": "LLMSAMPLER",
"links": [
1
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LLMMinP"
},
"widgets_values": [
0.05
]
},
{
"id": 5,
"type": "LLMTextLatch",
"pos": {
"0": 1000,
"1": 250
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "text_input",
"type": "STRING",
"link": 4,
"widget": {
"name": "text_input"
},
"shape": 7
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "LLMTextLatch"
},
"widgets_values": [
"\"A surreal, dreamlike landscape unfolds with a striking juxtaposition of natural and manufactured elements. A serene, untouched landscape stretches out to the horizon, with rolling hills, towering trees, and a shimmering lake in the distance. However, in the foreground, a beautiful, delicate glass bottle rises organically from the earth, as if grown from the very land itself. The bottle's curves and contours blend seamlessly with the surrounding scenery, giving it an otherworldly, almost ethereal quality. But what truly sets this scene apart is the bottle's peculiar contents: a swirling, purple galaxy of colors, reminiscent of a distant nebula, fills the bottle, casting an enchanting, iridescent glow across the surrounding landscape. The soft, golden light of dawn or dusk casts a warm, gentle ambiance over the entire scene, imbuing the image with a sense of wonder, magic, and a deep connection to the mysteries of the universe.\"",
true,
""
]
},
{
"id": 1,
"type": "LLMProvider",
"pos": {
"0": 200,
"1": 250
},
"size": {
"0": 301,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "llm_model",
"type": "LLMMODEL",
"links": [
3
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LLMProvider"
},
"widgets_values": [
"[LOCAL] llama.cpp",
"Meta-Llama-3.1-8B-Instruct",
"models"
]
},
{
"id": 2,
"type": "LLMChat",
"pos": {
"0": 550,
"1": 250
},
"size": {
"0": 400,
"1": 350
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "llm_model",
"type": "LLMMODEL",
"link": 3
},
{
"name": "llm_sampler",
"type": "LLMSAMPLER",
"link": 2,
"shape": 7
},
{
"name": "image",
"type": "IMAGE",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "completion",
"type": "STRING",
"links": [
4
],
"slot_index": 0,
"shape": 6
}
],
"properties": {
"Node name for S&R": "LLMChat"
},
"widgets_values": [
475392180035454,
"randomize",
"beautiful scenery nature glass bottle landscape, purple galaxy bottle,",
"You are a text-to-image-prompt generator. You take simple user input and translate it into a detailed and eloquent simple natural language prompt meant for generating images.\n\nEXAMPLES:\nUser Input: \"young woman taking a selfie in a mirror with old iPhone\"\n\nOutput: \"Phone photo: A young woman stands in front of a mirror, capturing a selfie. The image quality is grainy, with a slight blur softening the details. The lighting is dim, casting shadows that obscure her features. The room is cluttered, with clothes strewn across the bed and an unmade blanket. Her expression is casual, full of concentration, while the old iPhone struggles to focus, giving the photo an authentic, unpolished feel. The mirror shows smudges and fingerprints, adding to the raw, everyday atmosphere of the scene.\"\n\nUser Input: \"1940s film noir jazz bar scene glamorous woman singing\"\n\nOutput: \"A black-and-white, grainy cine still from a 1940s noir film scene of a dimly lit jazz club. In the center of the frame, a glamorous femme fatale stands on a small stage, singing into a vintage microphone. She is wearing a sequined evening gown that catches the soft, moody spotlight, and her hair is styled in classic Hollywood waves. Her expression is sultry and captivating, her lips painted dark as she croons a melancholic tune. The room is filled with a thick haze of cigarette smoke, and the silhouettes of patrons sit at small, round tables, their faces partially obscured by shadows. The band behind her, blurred slightly to give depth to the scene. The grainy texture and high contrast lighting create dramatic shadows and highlights, enhancing the mysterious and seductive atmosphere typical of a noir film.\"\n\nUser Input: \"fox in a raincoat in a rainy moody forest\"\n\nOutput: \"A solitary fox stands in the middle of a deserted, rain-soaked forest clearing, wearing a bright yellow raincoat that contrasts with the dark, muted colors of the scene. Raindrops fall steadily, creating ripples in the puddles that surround the fox, and the damp ground is covered with fallen leaves, now heavy with rain. In the background, the trees loom tall and bare, their branches reaching out like skeletal fingers, adding to the somber mood. The gray sky is heavy with clouds, casting a shadowy gloom over the entire scene, with only the fox’s yellow raincoat providing a small but poignant splash of color in the otherwise bleak environment.\"\n\nOUTPUT ONLY THE GENERATED PROMPT.\n"
]
}
],
"links": [
[
1,
4,
0,
3,
0,
"LLMSAMPLER"
],
[
2,
3,
0,
2,
1,
"LLMSAMPLER"
],
[
3,
1,
0,
2,
0,
"LLMMODEL"
],
[
4,
2,
0,
5,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9090909090909091,
"offset": [
-148.99999999999997,
8.4
]
}
},
"version": 0.4
}