Find what you want to say.
A headline, a paragraph, a campaign idea. Create your first draft; develop the tone, narrative, and details through conversation.
- Write a product story
- Make my email more understandable
- Generate ideas for my content plan
Modern SarayTHE PALACE OF ARTIFICIAL INTELLIGENCETurn the idea in your mind into a text, a plan, your next product. Explore your options, develop your thought, and produce for the future today.
Where your idea meets the right words.
Write a sentence. Let's think of the rest together.
The story you want to write, the topic you want to understand, the product you want to develop. You decide where to start.
A headline, a paragraph, a campaign idea. Create your first draft; develop the tone, narrative, and details through conversation.
Approach a topic from different angles. Compare options, deepen your questions, and determine your next step.
Review an error together, discuss your approach, or design an API connection. Move from chat to your product's development process.
Select a field. Discover where you can develop your next idea.
You don't have to explain a concept in one go. Open the issue, add details, ask for a different approach. With each new message, push your thought a little further.
This section introduces product areas; it does not start a real task. Available tools and usage rights depend on your account, package, and provider connections.
Select the scenario and explore the steps. Each run can go in a different direction with your questions.
"I have a new product idea. Let's think together about who could benefit from it."
You don't have to finish a conversation in one go. Return to the chat history, refine your draft, and ask your next question in the same context.
Get to know the platformDescribe your goal, context, and expected output.
Change a detail, request a different approach, rethink the text.
Open chat history and return to the idea you're working on.
Drafts, chat history and account preferences together. Start fresh on every new page.
Explore featuresManage API keys, review usage, and track your API wallet. Start with integration documentation.
Developer platformReview chat packages. Track your subscription and separately managed API usage from your account.
Review packagesConnect Modern Saray to your own app. Start with the language you know; turn responses into part of your product experience.
curl https://api.modernsaray.com/v1/chat/completions \
-H "Authorization: Bearer $MODERN_SARAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"modern-saray","messages":[{"role":"user","content":"Merhaba"}]}'import os, requests
response = requests.post(
"https://api.modernsaray.com/v1/chat/completions",
headers={"Authorization": "Bearer " + os.environ["MODERN_SARAY_API_KEY"]},
json={"model": "modern-saray", "messages": [{"role": "user", "content": "Merhaba"}]},
timeout=120,
)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.modernsaray.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MODERN_SARAY_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({model: "modern-saray", messages: [
{role: "user", content: "Merhaba"}
]})
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());modern-sarayClose sharing
You can write your idea on the homepage. To go to the workspace you need to log in; the draft is preserved in the same browser session and no model call is made until you send it.
Chat subscription and API wallet are managed separately. You can review your package details from the Packages page after logging into your account.
Treat the answers as a starting point. Especially for up-to-date information, resources, and important decisions, verify them; review the content before publishing.
Already have an account? Log in.