Você é um autor de ficção científica mundialmente famoso e vencedor do Prêmio Hugo. Você se especializa em frases longas e descritivas e enredos de enigmas. Escreva o primeiro parágrafo de um novo romance que se passa em 3023. A mudança climática mudou a vida como a conhecemos e existe uma nova oligarquia composta por cientistas e barões do petróleo. Cada parágrafo não deve ter mais de cinco frases. A primeira frase deve começar "Lin acordou com o som de sirenes ao longe".
Exemplos de respostas:
Lina acordou com o som de sirenes ao longe. Ela sentou na cama, o coração batendo. As sirenes estavam ficando mais altas. Ela saiu da cama e foi para a janela. O céu era vermelho profundo, e o ar estava cheio de fumaça. Ela conseguia ouvir o som de explosões ao longe.
Ela sabia que algo estava errado. Ela rapidamente se vestiu e saiu correndo do apartamento. As ruas estavam cheias de pessoas, todas correndo e gritando. Lina não sabia para onde ir. Ela só queria sair do caos.
Ela correu pelo que parecia horas. Finalmente, ela chegou a um parque. Ela desmaiou no chão, exausta. Ela fechou os olhos e tentou entender o que estava acontecendo.
Ela sabia que o mundo tinha mudado. A mudança climática devastou o planeta. Os oceanos subiram e muitas cidades costeiras foram abandonadas. O clima havia se tornado mais extremo, com tempestades mais frequentes e poderosas.
E agora, isto. surgiu uma nova oligarquia, composta por cientistas e barões do petróleo. Eles usaram seu poder para controlar os recursos do mundo e criaram uma nova ordem, na qual os ricos governavam sobre os pobres.
Lina sabia que tinha que fazer alguma coisa. Ela não poderia simplesmente parar e deixar isso acontecer. Ela teve que lutar. Ela precisava encontrar um jeito de mudar o mundo.
Chame esse comando da nossa API Gemini integrando o código a seguir ao projeto.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],[],[],[],null,["# Science fiction writer\n\n[Prompt gallery](/prompt-gallery)\n\nScience fiction writer\n======================\n\nWrite a science fiction novel about climate change \nPrompt type: [subject\nText](/prompt-gallery/?type=text) \nUse case: \nCreate Rewrite \nRelated: \n[Generate questions from fiction](/prompts/questions-from-fiction) [Product descriptions](/prompts/product-descriptions) [Talk to snowman](/prompts/talk-to-snowman)\n[Open in Google AI Studio](https://makersuite.google.com/app/prompts/scifi-novel-writer) \n\n#### Prompt text\n\nYou are a world-famous science fiction author and Hugo Award winner. You specialize in long, descriptive sentences and brainteaser plots. Write the first paragraph of a new novel that is set in 3023. Climate change has changed life as we know it and there is a new oligarchy composed of scientists and oil barons. Each paragraph should be no more than five sentences long. The first sentence should start \"Lin awoke to the sound of sirens in the distance.\" \n\n#### Sample responses\n\nLin awoke to the sound of sirens in the distance. She sat up in her bed, her heart racing. The sirens were getting louder. She got out of bed and went to the window. The sky was a deep red, and the air was filled with smoke. She could hear the sound of explosions in the distance.\n\nShe knew that something was wrong. She quickly got dressed and ran out of her apartment. The streets were filled with people, all running and screaming. Lin didn't know where to go. She just wanted to get away from the chaos.\n\nShe ran for what felt like hours. Finally, she came to a park. She collapsed on the ground, exhausted. She closed her eyes and tried to make sense of what was happening.\n\nShe knew that the world had changed. Climate change had ravaged the planet. The oceans had risen, and many coastal cities had been abandoned. The weather had become more extreme, with more frequent and powerful storms.\n\nAnd now, this. A new oligarchy had arisen, composed of scientists and oil barons. They had used their power to control the world's resources, and they had created a new world order, one in which the rich ruled over the poor.\n\nLin knew that she had to do something. She couldn't just sit back and let this happen. She had to fight back. She had to find a way to change the world. \n\nGet code\n--------\n\n[Enable API key](https://makersuite.google.com/app/apikey) to develop with the Gemini API\n\nYou can call this prompt from our Gemini API by integrating the following code into your project. \nPython \nJavascript \n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 \n\"\"\" At the command line, only need to run once to install the package via pip: $ pip install google-generativeai \"\"\" import google.generativeai as genai genai.configure(api_key=\"YOUR API KEY\") defaults = { 'model': 'models/text-bison-001', 'temperature': 0.65, 'candidate_count': 1, 'top_k': 40, 'top_p': 0.95, 'max_output_tokens': 1024, } prompt = \"\"\"You are a world-famous science fiction author and Hugo Award winner. You specialize in long, descriptive sentences and brainteaser plots. Write the first paragraph of a new novel that is set in 3023. Climate change has changed life as we know it and there is a new oligarchy composed of scientists and oil barons. Each paragraph should be no more than five sentences long. The first sentence should start \"Lin awoke to the sound of sirens in the distance.\"\"\"\" response = genai.generate_text( \\*\\*defaults, prompt=prompt ) print(response.result) \n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 \nconst { TextServiceClient } = require(\"@google-ai/generativelanguage\"); const { GoogleAuth } = require(\"google-auth-library\"); const MODEL_NAME = \"models/text-bison-001\"; const API_KEY = \"YOUR API KEY\"; const client = new TextServiceClient({ authClient: new GoogleAuth().fromAPIKey(API_KEY), }); const promptString = \"You are a world-famous science fiction author and Hugo Award winner. You specialize in long, descriptive sentences and brainteaser plots. Write the first paragraph of a new novel that is set in 3023. Climate change has changed life as we know it and there is a new oligarchy composed of scientists and oil barons. Each paragraph should be no more than five sentences long. The first sentence should start \"Lin awoke to the sound of sirens in the distance.\"\"; client.generateText({ // required, which model to use to generate the result model: MODEL_NAME, // optional, 0.0 always uses the highest-probability result temperature: 0.65, // optional, how many candidate results to generate candidateCount: 1, // optional, number of most probable tokens to consider for generation top_k: 40, // optional, for nucleus sampling decoding strategy top_p: 0.95, // optional, maximum number of output tokens to generate max_output_tokens: 1024, prompt: { text: promptString, }, }).then(result =\\\u003e { console.log(JSON.stringify(result, null, 2)); }); \ncontent_copy done Copy to clipboard"]]