|
1 | 1 | Running on local URL: http://127.0.0.1:7860
|
2 | 2 |
|
3 | 3 | To create a public link, set `share=True` in `launch()`.
|
| 4 | +action: create_image_with_fal -> {'name': 'create_image_with_fal', 'group': 'fal_actions', 'pointer': <function create_image_with_fal at 0x0000020270B72DD0>, 'agent_action': {'type': 'function', 'function': {'name': 'create_image_with_fal', 'description': '\n Generates an image using the FAL model service and downloads it to a local directory.\n\n Args:\n prompt (str): The text prompt to generate the image.\n model (str, optional): The FAL model identifier to use for image generation. Default is "fal-ai/flux-pro".\n image_size (str, optional): The desired image size. Default is "landscape_4_3".\n num_inference_steps (int, optional): The number of inference steps for image generation. Default is 28.\n guidance_scale (float, optional): The guidance scale for image generation. Default is 3.5.\n seed: The seed used to as the randomized input into the model\n\n Returns:\n str: The local filename of the downloaded image if successful.\n\n ', 'parameters': {'type': 'object', 'properties': {'prompt': {'type': 'string', 'description': 'prompt'}, 'model': {'type': 'string', 'description': 'model'}, 'image_size': {'type': 'string', 'description': 'image_size'}, 'num_inference_steps': {'type': 'string', 'description': 'num_inference_steps'}, 'guidance_scale': {'type': 'string', 'description': 'guidance_scale'}, 'seed': {'type': 'string', 'description': 'seed'}}, 'required': ['prompt']}}}, 'prompt_template': None} |
| 5 | +action: create_image_with_fal -> {'prompt': 'A fantastical scene featuring a majestic castle with towers reaching up to the clouds. The castle is surrounded by a wide moat filled with strange, otherworldly creatures. A drawbridge spans the moat, leading to the open castle gates. Various peasants, farmers, merchants, and knights are walking through the gates and on the drawbridge, going about their daily activities. The scene is captured in a wide, low-angle shot with a cinematic camera, emphasizing the grandeur and scale of the castle and its surroundings.', 'num_inference_steps': '28', 'guidance_scale': '20.0', 'seed': '42'} |
| 6 | +https://v2.fal.media/files/01bcaa1c469c4ce388e804a7d65eb88b_e8fdda34d60c49a08d52e459e437f09e.jpg |
| 7 | +action: create_image_with_fal(args={"prompt": "A fantastical scene featuring a majestic castle with towers reaching up to the clouds. The castle is surrounded by a wide moat filled with strange, otherworldly creatures. A drawbridge spans the moat, leading to the open castle gates. Various peasants, farmers, merchants, and knights are walking through the gates and on the drawbridge, going about their daily activities. The scene is captured in a wide, low-angle shot with a cinematic camera, emphasizing the grandeur and scale of the castle and its surroundings.", "num_inference_steps": "28", "guidance_scale": "20.0", "seed": "42"}) -> A_fantastical_scene__fal-ai_flux-pro_20.0_28_304f0252.png |
| 8 | +action: create_image -> {'name': 'create_image', 'group': 'image_actions', 'pointer': <function create_image at 0x0000020270C6BD00>, 'agent_action': {'type': 'function', 'function': {'name': 'create_image', 'description': '\n Generate an image based on the provided prompt using the DALL-E model.\n Args:\n prompt (str): The prompt used to generate the image.\n model (str, optional): The model used to generate the image. Defaults to "dall-e-3".\n size (str, optional): The size of the image in pixels. Defaults to "1024x1024". Options are 1024x1024, 1024x1792 or 1792x1024.\n quality (str, optional): The quality of the generation. Defaults to "standard". Options are "standard" or "hd" for high definition.\n n (int, optional): The number of generations. Defaults to 1. Always 1 for now.\n Returns:\n str: The path to the generated image file.\n ', 'parameters': {'type': 'object', 'properties': {'prompt': {'type': 'string', 'description': 'prompt'}, 'model': {'type': 'string', 'description': 'model'}, 'size': {'type': 'string', 'description': 'size'}, 'quality': {'type': 'string', 'description': 'quality'}, 'n': {'type': 'string', 'description': 'n'}}, 'required': ['prompt']}}}, 'prompt_template': None} |
| 9 | +action: create_image -> {'prompt': 'A fantastical scene featuring a majestic castle with towers reaching up to the clouds. The castle is surrounded by a wide moat filled with strange, otherworldly creatures. A drawbridge spans the moat, leading to the open castle gates. Various peasants, farmers, merchants, and knights are walking through the gates and on the drawbridge, going about their daily activities. The scene is captured in a wide, low-angle shot with a cinematic camera, emphasizing the grandeur and scale of the castle and its surroundings.', 'size': '1024x1024'} |
| 10 | +action: create_image(args={"prompt": "A fantastical scene featuring a majestic castle with towers reaching up to the clouds. The castle is surrounded by a wide moat filled with strange, otherworldly creatures. A drawbridge spans the moat, leading to the open castle gates. Various peasants, farmers, merchants, and knights are walking through the gates and on the drawbridge, going about their daily activities. The scene is captured in a wide, low-angle shot with a cinematic camera, emphasizing the grandeur and scale of the castle and its surroundings.", "size": "1024x1024"}) -> Afantasticalscenefeaturingamajesticcastlewithtower.png |
| 11 | +assistant > |
0 commit comments