XuanShu API

Terms of Use

Terms governing the AI coding and conversational reasoning proxy service provided by the XuanShu Operations Team.

I. Definitions

1. “XuanShu,” “Platform,” “we,” and “us” mean the AI coding and conversational reasoning proxy service, websites, interfaces, pages, documents, support, and ancillary services operated or provided by the XuanShu Operations Team.

2. “User” and “you” mean any individual, legal person, or organization that registers, logs in, accesses, calls, or otherwise uses the service.

3. “Third-party model” or “third-party service” means providers such as Anthropic, OpenAI, and Google and their APIs, models, infrastructure, billing, content-safety, and service policies.

II. Agreement Scope and Contracting Party

1. This Agreement is between you and the XuanShu Operations Team. Use also requires compliance with the Privacy Policy, Digital Recharge Service Policy, Subscription Service Policy, and other published rules.

2. When serving Mainland China users, the Platform follows mandatory law and provisions on contracts, consumer protection, personal information, cybersecurity, data security, generative AI, and e-commerce. Mandatory consumer rights are not excluded or limited. If this Agreement conflicts with mandatory law or provisions, the mandatory law or provisions prevail.

III. Registration, Login, and Security

1. Registration information must be truthful, lawful, valid, accurate, complete, and kept current. You bear losses caused by false, incomplete, or outdated information.

2. An account is for you or your authorized organization only. Without written consent, you may not transfer, rent, lend, sell, or share accounts, codes, API Keys, credentials, or service rights.

3. Safeguard all credentials. Operations made through them are treated as yours or authorized by you; you bear consequences caused by poor custody, sharing, or insecure devices.

IV. Restrictions, Closure, and Appeals

1. We may restrict, freeze, suspend, or terminate accounts for unlawful use, cybersecurity threats, infringement, abusive promotion use, unpaid fees, abnormal call frequency, circumvention, third-party policy violations, or other breaches.

2. You may request account closure by email. Closure ends login, calls, history access, and remaining credit use, except records retained for transactions, audits, security, or compliance.

3. You may appeal an erroneous restriction, freeze, or closure by email with supporting materials; we will review after identity and materials are verified.

V. Service and Changes

1. The service offers AI model access, request forwarding, quota statistics, account management, payments, subscriptions, and support. We do not provide or control underlying models, training, output logic, regional rules, safety policies, or availability.

2. We may adjust functions, interfaces, available models, prices, quotas, billing, access paths, or displays for operations, upgrades, security, third-party changes, regulation, or cost.

3. Maintenance, networks, third parties, defense measures, regulation, or force majeure may interrupt or limit service. We will respond reasonably but do not promise continuous, error-free, or permanent availability.

VI. User Conduct and Prohibited Uses

1. Use must be lawful, proper, and necessary. You are responsible for legal compliance of inputs, call methods, business scenarios, downstream use, end-user notices and consent, data sources, and outputs.

2. To protect public and data security, the following persons, institutions, and scenarios may not use the service.

3. Prohibited high-risk users and scenarios include government, healthcare, financial risk control, transport and energy, emergency safety, justice and law enforcement, examinations, public services, and other uses affecting public safety, public interests, or major rights.

4. Prohibited purposes include cracking, attacks, intrusion, bypassing security, data theft, malware generation, threats to national or public security, infringement, and any unlawful activity.

5. Do not generate or disseminate content opposing constitutional fundamentals, endangering national security, disclosing state secrets, or undermining national unity.

6. Do not generate or disseminate content harming national honor or interests or distorting, defaming, desecrating, or denying heroes and martyrs.

7. Do not promote terrorism or extremism, incite ethnic hatred or discrimination, or undermine ethnic unity.

8. Do not undermine religious policy, promote cults or superstition, spread rumors, or disturb economic or social order.

9. Do not generate or disseminate obscenity, pornography, gambling, violence, homicide, terror, criminal instruction, insults, defamation, or privacy or reputation infringement.

10. Do not distort traditional culture, historical persons, or allusions, or promote vulgar violence, erroneous values, or harmful guidance.

11. Do not generate or disseminate any other content prohibited by law, administrative regulation, or regulatory rule.

12. The Platform supplies technical access only and does not warrant the truth, accuracy, completeness, or suitability of third-party output. Review all inputs and outputs yourself.

13. You must resolve and indemnify all complaints, penalties, claims, losses, or regulatory risks caused to the Platform, model providers, or others by your use.

VII. AI-Generated Content

1. Third-party model output may be wrong, incomplete, omitted, repetitive, biased, unsuitable, unprotectable, or similar to third-party content and is not legal, medical, financial, investment, employment, education, or judicial advice.

2. You must review, verify, label, and bear responsibility for output and satisfy all legal duties for regulated scenarios.

3. Without express written permission, you may not use the service, output, interfaces, system prompts, model behavior, or related data to train, distill, evaluate, reverse engineer, replicate, benchmark, or improve competing models, products, or services.

VIII. Fees, Recharge, and Refunds

1. The Platform may offer pay-as-you-go, subscriptions, points, coupons, activation codes, or other paid services. Prices, quotas, validity, deductions, invoices, and receipts are governed by displayed terms, the Digital Recharge Service Policy, Subscription Service Policy, and order confirmation.

2. Check service type, account, amount, validity, scope, and refund terms before payment. Delivered or consumed services generally receive no no-reason refund unless law, an express promise, or a confirmed service fault requires otherwise.

3. For abnormal payment, theft, cash-out, abusive refunds, bulk registration, promotion abuse, risk-control evasion, or harm to Platform interests, we may pause delivery, revoke benefits, restrict accounts, or demand payment.

IX. Intellectual Property and Special Service Terms

1. You are responsible for submitted information, prompts, business and user data, and use of results, including compliance review, authorization, notices and consent, filings, content review, complaints, and risk assessments.

2. Without prior written confirmation, do not submit state secrets, important data, sensitive personal information, unauthorized trade secrets, or information that may not lawfully be processed. You must resolve and indemnify resulting losses.

3. Each party retains pre-existing and independently developed rights. Rights in the Platform, interfaces, software, systems, model access, technical solutions, documents, data structures, operational tools, improvements, and derivatives belong to us or our licensors.

4. You must have lawful rights to inputs. After payment and subject to law and this Agreement, you may lawfully use returned results; we do not warrant originality, registrability, merchantability, fitness, commercial usability, or non-infringement.

5. Do not directly use models or results for decisions significantly affecting personal rights unless all required notices, consent, human review, risk assessments, and regulatory duties are satisfied.

6. We may, after notice, suspend, restrict, or terminate service for unlawful use, infringement, unpaid fees, insufficient balance, abnormal calls, cybersecurity risk, regulatory risk, or third-party policy breach; urgent measures may precede notice.

X. Third-Party Models and Services

1. The service depends on external models, cloud services, networks, payments, messages, email, and other services that may change models, prices, regions, rate limits, safety rules, data policies, or availability.

2. Third-party models may filter, refuse, truncate, degrade, rate-limit, ban, or return errors. We use reasonable efforts but do not warrant their continuity, accuracy, compliance, or suitability.

3. When using third-party capabilities, you must also comply with their terms, policies, API data rules, and applicable law.

XI. Privacy and Personal Information

1. We process personal information under the Privacy Policy. Request content and returned results are processed only temporarily as needed for forwarding and delivery and are not persistently stored.

2. Selecting consent during registration confirms that you have read and accepted the Privacy Policy.

3. We will lawfully handle withdrawals, account closure, and rights requests, but affected functions may become unavailable.

XII. Export Controls and Sanctions

1. Do not use the service in violation of export controls, sanctions, anti-money-laundering, counter-terrorist-financing, or trade laws applicable to Mainland China, Hong Kong SAR, or relevant service, payment, cloud, model, or transaction chains.

2. Do not provide the service, accounts, API Keys, outputs, technical materials, or rights to sanctioned or restricted persons, embargoed regions, or restricted end users, or for military, weapons, mass surveillance, cyberattack, regulatory evasion, human-rights abuse, or proliferation uses.

3. Based on applicable rules and reasonable risk assessment, we may refuse, suspend, restrict, or terminate accounts, transactions, calls, or service and request information on end users, end use, funding, and business scenarios.

XIII. Disclaimers and Liability Limits

1. To the fullest lawful extent, service is provided “as is” and “as available,” without warranties of uninterrupted or error-free operation, complete security, fitness for particular needs, accurate output, permanent third-party availability, or business results.

2. We are not liable for losses caused by third parties, networks, maintenance, leaked credentials, unlawful use, improper inputs or output use, regulation, force majeure, or other causes outside our control.

3. Where lawful, total liability is capped at fees actually paid for the disputed service in the preceding 12 months, except intentional or grossly negligent personal or property harm and mandatory law.

XIV. Force Majeure and Accidents

1. We are not liable within the affected scope for natural disasters, war, riot, government action, legal or policy change, regulation, cyberattack, public-health events, carrier, cloud, model or power failure, or other unforeseeable, unavoidable, and insurmountable events.

2. We will reasonably mitigate effects and may suspend, adjust, or end affected services.

XV. Notices

1. We may send service, agreement, order, security, risk, or compliance notices through website announcements, inbox messages, pop-ups, SMS, email, support messages, or your recorded contact details.

2. Notice is delivered when posted, sent, or received by the relevant contact system. Keep contact details truthful, valid, and available.

XVI. Changes, Suspension, and Termination

1. We may update this Agreement for business, legal, regulatory, third-party, security, or risk-control needs and will appropriately highlight material changes.

2. If you disagree, stop using the service; continued use after an update constitutes acceptance.

3. A breach permits suspension or termination of all or part of the service and preservation of legal claims.

XVII. Governing Law and Disputes

1. Formation, performance, interpretation, amendment, termination, and disputes are governed by the law of Mainland China, except where other mandatory rules apply.

2. The parties must first negotiate through support email. If negotiation fails, either party may sue in a competent People’s Court having an actual connection with the dispute; mandatory consumer remedies remain available.

3. If this arrangement is invalid, unenforceable, or inapplicable to consumers, other terms remain effective and governing law and jurisdiction follow applicable law.

XVIII. Miscellaneous

1. Headings are for convenience and do not affect interpretation.

2. Invalid, unlawful, or unenforceable provisions do not affect others. Failure or delay in exercising a right is not a waiver.

3. You may not assign rights or obligations without written consent. We may lawfully assign them and notify you in connection with merger, separation, business or asset transfer, or operational adjustment.

XIX. Contact Us

1. Contact us with questions, complaints, suggestions, or appeals about this Agreement, accounts, fees, service, privacy, or disputes.

2. Email: contact@xuanshuapi.com; community entry points are published on the site.