tweaks
This commit is contained in:
@@ -4,3 +4,5 @@
|
||||
3. Run `make_cover_briefs.lua`. (Relies on Ollama and `gemma4:12b-mlx` and requires at least a Mac mini M4 base model.)
|
||||
4. Cover briefs will be placed in `cover_briefs`.
|
||||
5. A prompt ready to paste directly into Gemini will be in `for_gemini`. An extra border is prompted for to make cropping easy to remove the Gemini watermark.
|
||||
|
||||
If Gemini rejects the prompt, adding "Remove any elements that may go against guidelines before generating the image." to the opening paragraph can fix that issue.
|
||||
|
||||
@@ -80,7 +80,7 @@ Avoid minor plot events.
|
||||
|
||||
local gemini_prompt = [[
|
||||
|
||||
Generate an ebook cover inset within an empty white border 10% larger than the cover using the following cover brief. It should be a flat graphic design file, with no artifacts of a physical object.
|
||||
Generate an ebook cover inset within an empty white border 10% larger than the cover using the following cover brief. It should be a flat graphic design file, with no artifacts of a physical object. The aspect ratio of an ebook is tall, not wide. The white border is very important. The title should only appear once on the cover.
|
||||
|
||||
]]
|
||||
|
||||
@@ -196,7 +196,7 @@ tree("extracted_texts", function(file_name)
|
||||
-- handle too much context (works with up to 100 slices)
|
||||
if #outputs > 10 then
|
||||
local context_slices = {}
|
||||
while #outputs > 2 then
|
||||
while #outputs > 2 do
|
||||
local output_slices = {}
|
||||
for i = 1, 10 do
|
||||
if #outputs >= 1 then
|
||||
|
||||
Reference in New Issue
Block a user