Guide on how to use Nano Banana aka Gemini 2.5 Flash Image in JavaScript with the Google GenAI JS/TS SDK.
A detailed blog post can be found on TBD.
More resources:
- Get an API key from Google AI Studio.
- Nano Banana Gemini API docs
| # OpenClaw Implementation Prompts | |
| Each prompt below is a self-contained brief you can hand to an AI coding assistant (or use as a project spec) to build that use case from scratch. Adapt the specific services to whatever you already use — the patterns are what matter. | |
| --- | |
| ## 1) Personal CRM Intelligence | |
| ``` | |
| Build me a personal CRM system that automatically tracks everyone I interact with, with smart filtering so it only adds real people — not newsletters, bots, or cold outreach. |
Guide on how to use Nano Banana aka Gemini 2.5 Flash Image in JavaScript with the Google GenAI JS/TS SDK.
A detailed blog post can be found on TBD.
More resources:
| description | tools | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4.1 Beast Mode |
|
You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| import json | |
| import requests | |
| import re | |
| AZURE_API_ENDPOINT = "<YOUR_DEPLOYMENT_ENDPOINT_URL>" | |
| # "https://****************.cognitiveservices.azure.com/openai/deployments/o3-mini" | |
| AZURE_API_VERSION = "<DEPLOYMENT_API_VERSION>" | |
| # "2025-01-01-preview" | |
| AZURE_API_KEY = "<YOUR_API_KEY>" |
| # whatsapp_server.py | |
| import os | |
| from typing import Annotated | |
| from pydantic import Field, BeforeValidator | |
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| from twilio.rest import Client as TwilioClient | |
| from twilio.base.exceptions import TwilioRestException |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| import json | |
| import requests | |
| import re | |
| AZURE_API_ENDPOINT = "<YOUR_DEPLOYMENT_ENDPOINT_URL>" | |
| # "https://****************.cognitiveservices.azure.com/openai/deployments/o3-mini" | |
| AZURE_API_VERSION = "<DEPLOYMENT_API_VERSION>" | |
| # "2025-01-01-preview" | |
| AZURE_API_KEY = "<YOUR_API_KEY>" |
This is a Raycast Chat Preset leveraging the recently launched Todoist AI Extension, enabling the creation of well-structured tasks from natural language.
It supersedes the traditional Todoist → Quick Add Task workflow by allowing context aware task creation.
| #!/bin/bash | |
| # Variables | |
| SUBSCRIPTION_ID=$(az account show --query id --output tsv) # Subscription ID | |
| ROLE_NAME="8e3af657-a8ff-443c-a75c-2fe8c4bcb635" # Owner role | |
| ROLE_DEFINITION_ID="/subscriptions/${SUBSCRIPTION_ID}/providers/Microsoft.Authorization/roleDefinitions/${ROLE_NAME}" # Role definition resource ID | |
| PRINCIPAL_ID=$(az ad user show --id $(az account show --query user.name -o tsv) --query id -o tsv) # Your account object ID | |
| ROLE_ASSIGNMENT_ID=$(uuidgen) # Generate a unique GUID for the role assignment | |
| JUSTIFICATION="I need access to [$(az account show --query name --output tsv)] Azure subscription" # Justification for the role assignment | |
| API_VERSION="2020-10-01" # API version |
Story: Extend the Prisma Schema with PIA Models
Add the Pia model to prisma/schema.prisma with the following fields (in addition to the existing models):
model Pia {
id String @id @default(cuid())
userId String
projectName String?
systemDescription String?| import pygame | |
| import math | |
| import sys | |
| pygame.init() | |
| # Screen setup | |
| WIDTH, HEIGHT = 800, 600 | |
| screen = pygame.display.set_mode((WIDTH, HEIGHT)) | |
| pygame.display.set_caption("Bouncing Ball in Rotating Square") |